diff options
| author | Michael Forney <mforney@mforney.org> | 2020-04-15 18:52:57 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-04-15 19:09:56 -0700 |
| commit | ea72d6bab9e53b63d0ad391fbb6019adf6c8a9e2 (patch) | |
| tree | 0eae1e954a5bd849d183341208012d7910a5777e /pkg/openbsd | |
| parent | b275ed3c0711327bff6c1e67dbeaac8c5452a0e4 (diff) | |
Use main compression tool instead of *cat variants
Diffstat (limited to 'pkg/openbsd')
| -rw-r--r-- | pkg/openbsd/fetch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/openbsd/fetch.sh b/pkg/openbsd/fetch.sh index d45be54c..3b4f54f2 100644 --- a/pkg/openbsd/fetch.sh +++ b/pkg/openbsd/fetch.sh @@ -17,7 +17,7 @@ if ! $SHA256SUM -c sha256 2>/dev/null ; then $SHA256SUM -c sha256 fi -zcat src.tar.gz | $PAXREAD -s ',^,src/,' \ +gzip -d -c src.tar.gz | $PAXREAD -s ',^,src/,' \ 'bin/pax/*' \ 'include/*' \ 'lib/libc/*' \ @@ -32,6 +32,6 @@ zcat src.tar.gz | $PAXREAD -s ',^,src/,' \ 'usr.bin/rsync/*' \ 'usr.bin/yacc/*' \ 'usr.sbin/acme-client/*' -zcat sys.tar.gz | $PAXREAD -s ',^,src/,' 'sys/sys/*' +gzip -d -c sys.tar.gz | $PAXREAD -s ',^,src/,' 'sys/sys/*' git apply -v --whitespace=nowarn --directory "$dir/src" patch/* |
