commit: 24300b75545012690c10cb625299d2a93d32d6bb
parent 51529591cea1e551dbfc73fc4432a5399f700e52
Author: Michael Forney <mforney@mforney.org>
Date: Sat, 28 Nov 2020 15:05:49 -0800
openbsd: Fix fetch script sys.tar.gz patterns
OpenBSD 6.8's sys.tar.gz uses paths prefixed by ./, so 'sys/sys/*'
does not match in most pax implementations. bsdtar appears to
normalize the paths so this went unnoticed.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/openbsd/fetch.sh b/pkg/openbsd/fetch.sh
@@ -29,6 +29,6 @@ sh "$OLDPWD/scripts/extract.sh" src.tar.gz -s ',^,src/,' \
'usr.bin/rsync/*' \
'usr.bin/yacc/*' \
'usr.sbin/acme-client/*'
-sh "$OLDPWD/scripts/extract.sh" sys.tar.gz -s ',^,src/,' 'sys/sys/*'
+sh "$OLDPWD/scripts/extract.sh" sys.tar.gz -s ',^,src/,' './sys/sys/*'
git apply -v --whitespace=nowarn --directory "$dir/src" patch/*