aboutsummaryrefslogtreecommitdiff
path: root/handlers/dup
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/dup')
-rw-r--r--handlers/dup4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/dup b/handlers/dup
index 227ba8b..1f54652 100644
--- a/handlers/dup
+++ b/handlers/dup
@@ -118,15 +118,15 @@ set -o noglob
# excludes
for i in $exclude; do
- i=`readlink -f $i`
str="${i//__star__/*}"
+ i=`readlink -f ${i#}`
execstr="${execstr}--exclude '$str' "
done
# includes
for i in $include; do
- i=`readlink -f $i`
str="${i//__star__/*}"
+ i=`readlink -f ${i#}`
execstr="${execstr}--include '$str' "
done