diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/fetch-curl.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/fetch-curl.sh b/scripts/fetch-curl.sh index a25c0582..e026faef 100644 --- a/scripts/fetch-curl.sh +++ b/scripts/fetch-curl.sh @@ -25,16 +25,16 @@ fi while read -r checksum archive ; do case $archive in *.tar.gz|*.tgz) - tool=zcat ;; + tool=gzip ;; *.tar.bz2) - tool=bzcat ;; + tool=bzip2 ;; *.tar.xz) - tool=xzcat ;; + tool=xz ;; *) tool= esac if [ -n "$tool" ] ; then - "$tool" "$archive" | $PAXREAD -s ',^[^/]*,src,' '*/*' + "$tool" -d -c "$archive" | $PAXREAD -s ',^[^/]*,src,' '*/*' fi done <sha256 |
