summaryrefslogtreecommitdiff
path: root/git-maintenance/get.sh
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-07 17:52:10 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-07 17:52:10 -0800
commitecd1089e9f529d5c168da85056da1ab576638ad5 (patch)
tree8e1ba309bcb09daeda1e3108b963192d7ccbad9d /git-maintenance/get.sh
parentd2f1d006905b5d7c4bdf9255ae050330a6a7fbaa (diff)
downloadstandingwithresilience-ecd1089e9f529d5c168da85056da1ab576638ad5.tar.gz
standingwithresilience-ecd1089e9f529d5c168da85056da1ab576638ad5.zip
realized was not making deterministic files; using -J now, all files differ but should stay
Diffstat (limited to 'git-maintenance/get.sh')
-rwxr-xr-xgit-maintenance/get.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-maintenance/get.sh b/git-maintenance/get.sh
index a655762..7bff0ab 100755
--- a/git-maintenance/get.sh
+++ b/git-maintenance/get.sh
@@ -37,12 +37,12 @@ mv -f objects/pack/* objects/pack.bak/
# 3. download .git/encrypted with wget
curl -sfI "$URLPFX"/refs.aes>/dev/null && wget "$URLPFX"/refs.aes -O encrypted/refs.aes || echo "==== BROKEN REMOTE refs.aes PLEASE RE-STORE OR RECOVER ===="
-openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in encrypted/refs.aes | tar -zxvf -
+openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in encrypted/refs.aes | tar -Jxvf -
for encpack in $(<encrypted/list.txt)
do
wget "$URLPFX"/"$encpack" -O .git/encrypted/"$encpack"
- openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in .git/encrypted/"$encpack" | tar -zxvf -
+ openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in .git/encrypted/"$encpack" | tar -Jxvf -
done
for pack in objects/pack/*.pack