summaryrefslogtreecommitdiff
path: root/scripts/fetch-curl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fetch-curl.sh')
-rw-r--r--scripts/fetch-curl.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/fetch-curl.sh b/scripts/fetch-curl.sh
index e026faef..1e35c68d 100644
--- a/scripts/fetch-curl.sh
+++ b/scripts/fetch-curl.sh
@@ -1,5 +1,5 @@
-: ${SHA256SUM:=sha256sum}
-: ${PAXREAD:=pax -r}
+: "${SHA256SUM:=sha256sum}"
+: "${PAXREAD:=pax -r}"
set -e
@@ -22,7 +22,7 @@ if ! $SHA256SUM -c sha256 2>/dev/null ; then
$SHA256SUM -c sha256
fi
-while read -r checksum archive ; do
+while read -r _ archive ; do
case $archive in
*.tar.gz|*.tgz)
tool=gzip ;;