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 --- pkg/git/fetch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/git') diff --git a/pkg/git/fetch.sh b/pkg/git/fetch.sh index 3ee5f3d8..cac21b42 100644 --- a/pkg/git/fetch.sh +++ b/pkg/git/fetch.sh @@ -1,9 +1,9 @@ -: ${SHA256SUM:=sha256sum} -: ${PAXREAD:=pax -r} +: "${SHA256SUM:=sha256sum}" +: "${PAXREAD:=pax -r}" set -e -(. ./scripts/fetch-git.sh "$@") +sh scripts/fetch-git.sh "$@" cd "$1" shift @@ -17,5 +17,5 @@ if ! $SHA256SUM -c sha256 2>/dev/null ; then $SHA256SUM -c sha256 fi -read -r checksum archive