patch-1.3.79 linux/scripts/patch-kernel

Next file: linux/Documentation/Configure.help
Previous file: linux/scripts/lxdialog/util.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.78/linux/scripts/patch-kernel linux/scripts/patch-kernel
@@ -43,11 +43,11 @@
         echo "failed.  Clean up yourself."
         break
     fi
-    if [ "`find $sourcedir -follow '(' -name '*.rej' -o -name '.*.rej' ')' -print`" ]
+    if [ "`find $sourcedir/ '(' -name '*.rej' -o -name '.*.rej' ')' -print`" ]
     then
         echo "Aborting.  Reject files found."
         break
     fi
     # Remove backup files
-    find $sourcedir -follow '(' -name '*.orig' -o -name '.*.orig' ')' -print | xargs rm -f
+    find $sourcedir/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \;
 done


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this