From 52a00450240db39024780a98013fcff5ef43f3c5 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 29 Nov 2005 11:30:06 +0000 Subject: [PATCH] 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 --- handlers/dup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2