From 097c4431b2b95487031859376d3c30657edeb04a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 2 Oct 2015 04:55:33 +0200 Subject: [PATCH] bin/srsync-incremental: fix initial backup --- bin/srsync-incremental | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/srsync-incremental b/bin/srsync-incremental index 0ae1e56..9d800b9 100755 --- a/bin/srsync-incremental +++ b/bin/srsync-incremental @@ -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 -- 2.45.2