]> arthur.barton.de Git - backup-script.git/commitdiff
backup-status: Backup directory uses configuration file name
authorAlexander Barton <alex@barton.de>
Mon, 21 Sep 2015 10:27:12 +0000 (12:27 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 21 Sep 2015 10:27:12 +0000 (12:27 +0200)
bin/backup-status

index 9541f6e6a0d59b8f1c863d9864105b0d2aad760f..7c1c1830a66a6bf5a3eee26f84ae001827d9be4f 100755 (executable)
@@ -151,7 +151,7 @@ for f in $sys; do
        # Read in system configuration file
        source "$f"
 
-       target="$target/$system"
+       target="$target/$(basename "$f")"
 
        [ -d "$target" ] || continue