From 0dbae24a86415b956640738c921ddc4079a424c3 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 19 Apr 2020 02:13:23 -0700 Subject: Address some shellcheck warnings --- scripts/fetch-curl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/fetch-curl.sh') 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 ;; -- cgit v1.2.3