Skip to content
Snippets Groups Projects
Commit b7dd0cbf authored by intrigeri's avatar intrigeri
Browse files

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

parent a04140d0
Branches
Tags
No related merge requests found
...@@ -17,13 +17,16 @@ version 0.9.3 -- unreleased ...@@ -17,13 +17,16 @@ version 0.9.3 -- unreleased
. now works when multiple vservers names are given (separated by space) . now works when multiple vservers names are given (separated by space)
in vsnames config variable in vsnames config variable
. make use of new lib/vserver functionality . 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 ninjahelper changes
rdiff.helper: rdiff.helper:
. fixed errors in create remote dir . fixed errors in create remote dir
. code formatting cleanup (three spaces indent) . code formatting cleanup (three spaces indent)
. fixed bug which caused only first include/exclude dir to . fixed bug which caused only first include/exclude dir to
have "include = " have "include = "
. fixed globbing bug with include and exclude (twice ;) . fixed globbing bug with exclude
ninjahelper: ninjahelper:
. now reports error if the helper script has a syntax error or bombs out. . now reports error if the helper script has a syntax error or bombs out.
. code formatting cleanup (three spaces indent) . code formatting cleanup (three spaces indent)
......
...@@ -172,12 +172,12 @@ done ...@@ -172,12 +172,12 @@ done
# vsinclude # vsinclude
if [ $usevserver = yes ]; then if [ $usevserver = yes ]; then
for vserver in `ls $VROOTDIR|grep -v lost+found`; do for vserver in $found_vservers; do
for vi in "$vsinclude"; do for vi in "$vsinclude"; do
str="${vi//__star__/*}" str="${vi//__star__/*}"
execstr="${execstr}--include '$VROOTDIR/$vserver$str' " execstr="${execstr}--include '$VROOTDIR/$vserver$str' "
done done
done done
fi fi
# exclude everything else # exclude everything else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment