diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-11-15 08:11:11 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-11-15 08:11:11 -0700 |
commit | 12e62af5c29cdb293ea3cf0c357be84f16ba4462 (patch) | |
tree | e835919b908fc56d24982f7d30cd75d71d10d50d | |
parent | 748ab94e59caef91866554b6aa2b4765d9c1d9dc (diff) | |
download | dotfiles-12e62af5c29cdb293ea3cf0c357be84f16ba4462.tar.gz |
fix athena URLs in coldbkup to work with gitbk()
Otherwise the folder names on the backup medium are wrong and git gives
strange errors like this:
error: internal error: refs/heads/master is not a valid packed reference!
-rwxr-xr-x | bin/coldbkup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/coldbkup b/bin/coldbkup index 993dab5c..00f7aeec 100755 --- a/bin/coldbkup +++ b/bin/coldbkup @@ -72,9 +72,9 @@ for repo in $repos; do status processing $repo from athena if [ "$repo" = "priv.git" -o "$repo" = "annex.git" -o "$repo" = "rt.git" ]; then # might need a ssh:// and a /~/ in here to work with gcrypt - gitbk gcrypt::git@spwhitton.name:${repo%.*} $DEST/athena + gitbk gcrypt::git@spwhitton.name:/home/git/$repo $DEST/athena else - gitbk git@spwhitton.name:${repo%.*} $DEST/athena + gitbk git@spwhitton.name:/home/git/$repo $DEST/athena fi done |