]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
bin/srsync-incremental: fix initial backup
authorSimon Ruderich <simon@ruderich.org>
Fri, 2 Oct 2015 02:55:33 +0000 (04:55 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 2 Oct 2015 02:55:33 +0000 (04:55 +0200)
bin/srsync-incremental

index 0ae1e56c208e562b839628862e11ab32bb2fcc19..9d800b9cd85b7165069200f0f8b5e776e01551d1 100755 (executable)
@@ -35,6 +35,7 @@ cd "$1"
 shift
 
 # Get absolute path to last backup directory.
+dest=./
 for x in backup-*; do
     test -d "$x" || continue
     dest="../$x" # relative to destination directory