]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bin/srsync-incremental
bin/srsync-incremental: fix initial backup
[config/dotfiles.git] / 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