summaryrefslogtreecommitdiff
path: root/scripts/fetch-curl.sh
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-04-19 02:13:23 -0700
committerMichael Forney <mforney@mforney.org>2020-04-19 02:13:23 -0700
commit0dbae24a86415b956640738c921ddc4079a424c3 (patch)
tree5055b1523775d11e51babc8a510fddeeef3c28b4 /scripts/fetch-curl.sh
parent66485a7e1f1b54e1c7a957fce145255c4c566fa2 (diff)
Address some shellcheck warnings
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 ;;