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/linux-headers/fetch.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkg/linux-headers') diff --git a/pkg/linux-headers/fetch.sh b/pkg/linux-headers/fetch.sh index 94d70276..0d5f32d8 100644 --- a/pkg/linux-headers/fetch.sh +++ b/pkg/linux-headers/fetch.sh @@ -1,5 +1,4 @@ : "${SHA256SUM:=sha256sum}" -: "${PAXREAD:=pax -r}" set -e @@ -18,8 +17,7 @@ if ! $SHA256SUM -c sha256 2>/dev/null ; then fi read -r _ archive