[ -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
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