From c7a8fa734b4f6552da3f1bf8b14a39997391e176 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Mon, 12 Oct 2020 11:52:26 +0200 Subject: [PATCH] Solved bug --- scripts/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup.sh b/scripts/backup.sh index b37e390..1b13617 100644 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -13,7 +13,7 @@ do first_destination_path="$application_path""first""$source_path"; latest_destination_path="$application_path""latest""$source_path"; backup_dir_path="$application_path""diffs/$backup_time/$source_path" - if [ -d "$first_destination_path)" ] + if [ -d "$first_destination_path" ] then echo "backup: $source_path" destination_path="$latest_destination_path";