summaryrefslogtreecommitdiff
path: root/git-maintenance
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-07 17:02:02 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-07 17:02:02 -0800
commitd66b0f5ea8238e5dd76df5530b1ed8ced7c2e303 (patch)
treec633b82ba784d27debdb1ff9c834532aa68844dc /git-maintenance
parent919b8945c4f597a94ff0167f58a51aab72b42526 (diff)
downloadstandingwithresilience-d66b0f5ea8238e5dd76df5530b1ed8ced7c2e303.tar.gz
standingwithresilience-d66b0f5ea8238e5dd76df5530b1ed8ced7c2e303.zip
bugfix: absolute paths stored in tars
Diffstat (limited to 'git-maintenance')
-rwxr-xr-xgit-maintenance/store.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-maintenance/store.sh b/git-maintenance/store.sh
index 01ab4b2..19d3be2 100755
--- a/git-maintenance/store.sh
+++ b/git-maintenance/store.sh
@@ -2,9 +2,9 @@
PASS="$(ls "/run/media/"*/*"/key.fsojp.aes256" | head -n 1)"
ROOTDIR="$(git rev-parse --show-toplevel)"
-GITDIR="$ROOTDIR/.git"
-MAINTDIR="$ROOTDIR/git-maintenance"
cd "$ROOTDIR"
+GITDIR=".git"
+MAINTDIR="git-maintenance"
export GZIP=-9n
TAR="tar -z --owner=0 --group=0 --numeric-owner --mode=go=rX,u+rw,a-s"