From f74127556dade2c7434517caf16967e452787d79 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 8 May 2020 13:05:22 -0700 Subject: Detect decompression tool automatically This fixes cross-compilation from macOS, whose bsdtar does support xz through liblzma, but does not have xz(1). --- pkg/git/fetch.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkg/git') diff --git a/pkg/git/fetch.sh b/pkg/git/fetch.sh index cac21b42..9b17a0d5 100644 --- a/pkg/git/fetch.sh +++ b/pkg/git/fetch.sh @@ -1,5 +1,4 @@ : "${SHA256SUM:=sha256sum}" -: "${PAXREAD:=pax -r}" set -e @@ -18,4 +17,4 @@ if ! $SHA256SUM -c sha256 2>/dev/null ; then fi read -r _ archive