From 24300b75545012690c10cb625299d2a93d32d6bb Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 28 Nov 2020 15:05:49 -0800 Subject: 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. --- pkg/openbsd/fetch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/openbsd') diff --git a/pkg/openbsd/fetch.sh b/pkg/openbsd/fetch.sh index bff225ed..de53d713 100644 --- 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/* -- cgit v1.2.3