258e68c95adcca22b41618268b6c4d0009427e53
- Author
- Philip <philip@yewtreeapps.com>
- Committer
- Philip <philip@yewtreeapps.com>
- Date
Message
copy whole array rather than one element
Diff
1diff --git a/duplicity-backup.sh b/duplicity-backup.sh
2index f5d91e17b66c627acc2ff27b536519187e7fdb0e..57c6bbed07bfc8c0fdfbce70cbdd42ec82d731d3 100755
3--- a/duplicity-backup.sh
4+++ b/duplicity-backup.sh
5@@ -376,7 +376,7 @@ get_source_file_size()
6 if [ -z "$INCLIST" ]; then
7 DUINCLIST=($ROOT)
8 else
9- DUINCLIST=$INCLIST
10+ DUINCLIST=("${INCLIST[@]}")
11 fi
12
13 for include in ${DUINCLIST[@]}; do