diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | handlers/dup | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -6,6 +6,8 @@ version 0.9.4 -- unreleased . Fixed erroneous removal of tmpfile when it didn't exit rdiff: . Fixed improper include/exclude symlink dereference + dup: + . Fixed improper include/exclude symlink dereference lib changes vserver: . init_vservers: fixed Debian bug #351083 (improper readlink syntax) diff --git a/handlers/dup b/handlers/dup index 6918702..227ba8b 100644 --- a/handlers/dup +++ b/handlers/dup @@ -118,12 +118,14 @@ set -o noglob # excludes for i in $exclude; do + i=`readlink -f $i` str="${i//__star__/*}" execstr="${execstr}--exclude '$str' " done # includes for i in $include; do + i=`readlink -f $i` str="${i//__star__/*}" execstr="${execstr}--include '$str' " done @@ -132,7 +134,8 @@ done if [ $usevserver = yes ]; then for vserver in $vsnames; do for vi in $vsinclude; do - str="${vi//__star__/*}" + i=`readlink -f $VROOTDIR/$vserver$vi` + str="${i//__star__/*}" execstr="${execstr}--include '$VROOTDIR/$vserver$str' " done done |