Tweaked the names of the subdirs inside the tmp dir.
[rsync/rsync-patches.git] / verify-patches
index 4037362..ee2cddf 100755 (executable)
@@ -14,11 +14,11 @@ tmpdir=,tmp-for-patch-tests
 [ -d $tmpdir ] || mkdir $tmpdir
 cd $tmpdir || exit 1
 
-[ -d ,workdir ] || mkdir ,workdir
-echo "Using CVS to update the $tmpdir/,cvsdir copy of the source."
-cvs -d "$root" co -d ,cvsdir rsync
+[ -d workdir ] || mkdir workdir
+echo "Using CVS to update the $tmpdir/cvsdir copy of the source."
+cvs -d "$root" co -d cvsdir rsync
 
-cd ,workdir || exit 1
+cd workdir || exit 1
 
 if [ -z "$1" ]; then
     set -- ../../*.diff
@@ -36,11 +36,11 @@ for xx in "${@}"; do
     while : ; do
        echo -e "\n----------- $xx ------------"
        if [ $apply = y ]; then
-           rsync -a --delete ../,cvsdir/ .
+           rsync -a --delete ../cvsdir/ .
            patch -p0 <$xx | tee ,patch.output
            new=''
            for nn in `sed -n 's/^patching file //p' ,patch.output`; do
-               [ -f ../,cvsdir/$nn ] || new="$new $nn"
+               [ -f ../cvsdir/$nn ] || new="$new $nn"
            done
            if grep "^Hunk #[0-9]* FAILED" ,patch.output >/dev/null; then
                default=F