From d66b0f5ea8238e5dd76df5530b1ed8ced7c2e303 Mon Sep 17 00:00:00 2001 From: olpc user Date: Tue, 7 Jan 2020 17:02:02 -0800 Subject: bugfix: absolute paths stored in tars --- git-maintenance/store.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-maintenance') 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" -- cgit v1.2.3