From c83c8260ad1ca5e418f70dacdb39bd396f71ea21 Mon Sep 17 00:00:00 2001 From: olpc user Date: Tue, 7 Jan 2020 18:23:35 -0800 Subject: fix local comparison --- git-maintenance/store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-maintenance/store.sh b/git-maintenance/store.sh index d6435e4..9c24a50 100755 --- a/git-maintenance/store.sh +++ b/git-maintenance/store.sh @@ -56,7 +56,7 @@ do else echo "$fn IS NEW LOCALLY ($packfile)" fi - if [ "$(cat "$packfile" | sha256sum)" = "$(decrypt < encrypted/"$fn" | sha256sum)" ] + if [ "$(cat "$packfile" | sha256sum)" = "$(decrypt < encrypted/"$fn" | $TAR -xvOf - "$packfile" | sha256sum)" ] then echo "$fn MATCHES CONTENT LOCALLY ($packfile)" else -- cgit v1.2.3