diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-07 18:23:35 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-07 18:23:35 -0800 |
commit | c83c8260ad1ca5e418f70dacdb39bd396f71ea21 (patch) | |
tree | 680891a6c85f182d25b6819cb988fc93c7144932 /git-maintenance/store.sh | |
parent | ba76e2f1af19bcd7d95d4e69b3b3d62e6dbca4ff (diff) | |
download | standingwithresilience-c83c8260ad1ca5e418f70dacdb39bd396f71ea21.tar.gz standingwithresilience-c83c8260ad1ca5e418f70dacdb39bd396f71ea21.zip |
fix local comparison
Diffstat (limited to 'git-maintenance/store.sh')
-rwxr-xr-x | git-maintenance/store.sh | 2 |
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 |