handlers/rdiff: make use of new lib/vserver functionality

This commit is contained in:
intrigeri 2006-01-19 21:57:28 +00:00
parent a04140d071
commit b7dd0cbf81
2 changed files with 10 additions and 7 deletions

View File

@ -17,13 +17,16 @@ version 0.9.3 -- unreleased
. now works when multiple vservers names are given (separated by space)
in vsnames config variable
. make use of new lib/vserver functionality
rdiff
. make use of new lib/vserver functionality
. fixed globbing bug in include, exclude and vsinclude options
ninjahelper changes
rdiff.helper:
. fixed errors in create remote dir
. code formatting cleanup (three spaces indent)
. fixed bug which caused only first include/exclude dir to
have "include = "
. fixed globbing bug with include and exclude (twice ;)
. fixed globbing bug with exclude
ninjahelper:
. now reports error if the helper script has a syntax error or bombs out.
. code formatting cleanup (three spaces indent)

View File

@ -172,12 +172,12 @@ done
# vsinclude
if [ $usevserver = yes ]; then
for vserver in `ls $VROOTDIR|grep -v lost+found`; do
for vi in "$vsinclude"; do
str="${vi//__star__/*}"
execstr="${execstr}--include '$VROOTDIR/$vserver$str' "
done
done
for vserver in $found_vservers; do
for vi in "$vsinclude"; do
str="${vi//__star__/*}"
execstr="${execstr}--include '$VROOTDIR/$vserver$str' "
done
done
fi
# exclude everything else