git-svn-id: http://code.autistici.org/svn/backupninja/trunk@312
758a04ac-41e6-0310-8a23-
8373a73cc35d
### SOURCE ###
# excludes
-for i in $exclude; do
+for i in "$exclude"; do
str="${i//__star__/*}"
execstr="${execstr}--exclude '$str' "
done
# includes
-for i in $include; do
+for i in "$include"; do
str="${i//__star__/*}"
execstr="${execstr}--include '$str' "
done
# vsincludes
if [ $usevserver ]; then
for vserver in $vsnames; do
- for vi in $vsinclude; do
+ for vi in "$vsinclude"; do
str="${vi//__star__/*}"
execstr="${execstr}--include '$VROOTDIR/$vserver$str' "
done