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-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;ds=sidebyside;h=52a00450240db39024780a98013fcff5ef43f3c5;p=matthijs%2Fupstream%2Fbackupninja-vserver.git dup: Fixed globbing support in include and exclude options (Debian bug #338796) git-svn-id: http://code.autistici.org/svn/backupninja/trunk@256 758a04ac-41e6-0310-8a23-8373a73cc35d --- 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