summaryrefslogtreecommitdiff
path: root/git-maintenance
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-07 18:23:35 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-07 18:23:35 -0800
commitc83c8260ad1ca5e418f70dacdb39bd396f71ea21 (patch)
tree680891a6c85f182d25b6819cb988fc93c7144932 /git-maintenance
parentba76e2f1af19bcd7d95d4e69b3b3d62e6dbca4ff (diff)
downloadstandingwithresilience-c83c8260ad1ca5e418f70dacdb39bd396f71ea21.tar.gz
standingwithresilience-c83c8260ad1ca5e418f70dacdb39bd396f71ea21.zip
fix local comparison
Diffstat (limited to 'git-maintenance')
-rwxr-xr-xgit-maintenance/store.sh2
1 files changed, 1 insertions, 1 deletions
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