projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied Anarcat's patch to fix rdiff's $test
[matthijs/upstream/backupninja-vserver.git]
/
handlers
/
dup
diff --git
a/handlers/dup
b/handlers/dup
index c16ec40f83da0984973898b4f912596725954144..b4a7c9db3bc722bb15c5ff58007a89d3e02e3e72 100644
(file)
--- a/
handlers/dup
+++ b/
handlers/dup
@@
-138,18
+138,19
@@
for i in $exclude; do
if [ -n "$str" ]; then
execstr="${execstr}--exclude '$str' "
else
if [ -n "$str" ]; then
execstr="${execstr}--exclude '$str' "
else
- warning "exclude statement
${i//__star__/*}
will be ignored. $symlinks_warning"
+ warning "exclude statement
'${i//__star__/*}'
will be ignored. $symlinks_warning"
fi
done
# includes
for i in $include; do
fi
done
# includes
for i in $include; do
+ [ "$i" != "/" ] || fatal "Sorry, you cannot use 'include = /'"
str="${i//__star__/*}"
str=`readlink -f $str`
if [ -n "$str" ]; then
execstr="${execstr}--include '$str' "
else
str="${i//__star__/*}"
str=`readlink -f $str`
if [ -n "$str" ]; then
execstr="${execstr}--include '$str' "
else
- warning "include statement
${i//__star__/*}
will be ignored. $symlinks_warning"
+ warning "include statement
'${i//__star__/*}'
will be ignored. $symlinks_warning"
fi
done
fi
done
@@
-162,7
+163,7
@@
if [ $usevserver = yes ]; then
if [ -n "$str" ]; then
execstr="${execstr}--include '$str' "
else
if [ -n "$str" ]; then
execstr="${execstr}--include '$str' "
else
- warning "vsinclude statement
${vi//__star__/*}
will be ignored for VServer $vserver. $symlinks_warning"
+ warning "vsinclude statement
'${vi//__star__/*}'
will be ignored for VServer $vserver. $symlinks_warning"
fi
done
done
fi
done
done