copy whole array rather than one element

This commit is contained in:
Philip 2015-01-23 17:02:25 +00:00
parent ea14212806
commit 258e68c95a

View file

@ -376,7 +376,7 @@ get_source_file_size()
if [ -z "$INCLIST" ]; then if [ -z "$INCLIST" ]; then
DUINCLIST=($ROOT) DUINCLIST=($ROOT)
else else
DUINCLIST=$INCLIST DUINCLIST=("${INCLIST[@]}")
fi fi
for include in ${DUINCLIST[@]}; do for include in ${DUINCLIST[@]}; do