From ba76e2f1af19bcd7d95d4e69b3b3d62e6dbca4ff Mon Sep 17 00:00:00 2001 From: olpc user Date: Tue, 7 Jan 2020 17:54:08 -0800 Subject: fix incorrect quoting --- git-maintenance/store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-maintenance/store.sh') diff --git a/git-maintenance/store.sh b/git-maintenance/store.sh index e95ff2b..d6435e4 100755 --- a/git-maintenance/store.sh +++ b/git-maintenance/store.sh @@ -65,7 +65,7 @@ do mv "$tmpfile".aes encrypted/"$fn" fi # need to decrypt to compare content. - if [ "$(curl "$URLPFX"/"$fn" | decrypt | "$TAR" -xvOf - "$packfile" | sha256sum)" = "$(cat "$packfile" | sha256sum)" ]; then + if [ "$(curl "$URLPFX"/"$fn" | decrypt | $TAR -xvOf - "$packfile" | sha256sum)" = "$(cat "$packfile" | sha256sum)" ]; then echo "$fn MATCHES DOWNLOAD CONTENT ($packfile)" mv -v encrypted/"$fn" encrypted.bak else -- cgit v1.2.3