summaryrefslogtreecommitdiff
path: root/pkg/openbsd
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-11-28 15:05:49 -0800
committerMichael Forney <mforney@mforney.org>2020-11-28 15:19:36 -0800
commit24300b75545012690c10cb625299d2a93d32d6bb (patch)
tree881919508d34707066dfac05e7061345a17ba36c /pkg/openbsd
parent51529591cea1e551dbfc73fc4432a5399f700e52 (diff)
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 (limited to 'pkg/openbsd')
-rw-r--r--pkg/openbsd/fetch.sh2
1 files changed, 1 insertions, 1 deletions
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/*