Fixed (eventually) the globbing include/exclude/vsinclude bug.
authorintrigeri <intrigeri@boum.org>
Mon, 16 Jan 2006 22:01:01 +0000 (22:01 +0000)
committerintrigeri <intrigeri@boum.org>
Mon, 16 Jan 2006 22:01:01 +0000 (22:01 +0000)
handlers/dup

index b6c2bfd2991f77b8ee39471981bbae176c695b42..2e4312b0d34ad5d62007a79633b3494ab722e691 100644 (file)
@@ -120,13 +120,13 @@ execstr_clientpart="/"
 ### 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
@@ -134,7 +134,7 @@ 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