From 95363a4fccd05ce48bc37d75a3ecce41ad5cfa8f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Mon, 16 Jan 2006 22:01:01 +0000 Subject: [PATCH] Fixed (eventually) the globbing include/exclude/vsinclude bug. git-svn-id: http://code.autistici.org/svn/backupninja/trunk@312 758a04ac-41e6-0310-8a23-8373a73cc35d --- handlers/dup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handlers/dup b/handlers/dup index b6c2bfd..2e4312b 100644 --- a/handlers/dup +++ b/handlers/dup @@ -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 -- 2.30.2