From 258e68c95adcca22b41618268b6c4d0009427e53 Mon Sep 17 00:00:00 2001 From: Philip Date: Fri, 23 Jan 2015 17:02:25 +0000 Subject: [PATCH] copy whole array rather than one element --- duplicity-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duplicity-backup.sh b/duplicity-backup.sh index f5d91e1..57c6bbe 100755 --- a/duplicity-backup.sh +++ b/duplicity-backup.sh @@ -376,7 +376,7 @@ get_source_file_size() if [ -z "$INCLIST" ]; then DUINCLIST=($ROOT) else - DUINCLIST=$INCLIST + DUINCLIST=("${INCLIST[@]}") fi for include in ${DUINCLIST[@]}; do