From: intrigeri Date: Tue, 29 Nov 2005 11:30:06 +0000 (+0000) Subject: dup: Fixed globbing support in include and exclude options (Debian bug #338796) X-Git-Tag: backupninja-0.9.2~42 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=commitdiff_plain;h=d5c8686efd9ea9a5c4f8bc8c3566c2e6a0165ace dup: Fixed globbing support in include and exclude options (Debian bug #338796) --- diff --git a/handlers/dup b/handlers/dup index 8d38cfc..79be2fc 100644 --- a/handlers/dup +++ b/handlers/dup @@ -105,13 +105,13 @@ execstr_clientpart="/" # excludes for i in $exclude; do str="${i//__star__/*}" - execstr="${execstr}--exclude $str " + execstr="${execstr}--exclude '$str' " done # includes for i in $include; do str="${i//__star__/*}" - execstr="${execstr}--include $str " + execstr="${execstr}--include '$str' " done # vsincludes