Cleanup the use of 'find' to prevent error msgs.
authorEric Andersen <andersen@codepoet.org>
Tue, 20 Feb 2001 06:22:54 +0000 (06:22 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 20 Feb 2001 06:22:54 +0000 (06:22 -0000)
 -Erik

Makefile

index 8fdfd856e17bf091672c25899dcabe10864ae54d..dc7427c297c4bd7690b9d147f4ccfde0d81bf98f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -319,7 +319,7 @@ clean:
        - rm -f multibuild.log Config.h.orig
        - rm -rf docs/busybox _install $(PWD_LIB) 
        - rm -f busybox.links loop.h *~ slist.mk core applet_source_list
-       - find -name *.o | xargs rm -f;
+       - find -name \*.o -exec rm -f {} \;
 
 distclean: clean
        - rm -f busybox
@@ -343,17 +343,17 @@ dist release: distclean doc
        find busybox-$(VERSION)/ -type d        \
                                 -name CVS      \
                                 -print         \
-               | xargs rm -rf;                 \
+               -exec rm -rf {} \;              \
                                                \
        find busybox-$(VERSION)/ -type f        \
                                 -name .cvsignore \
                                 -print         \
-               | xargs rm -f;                  \
+               -exec rm -f {}  \;              \
                                                \
        find busybox-$(VERSION)/ -type f        \
                                 -name .\#*     \
                                 -print         \
-               | xargs rm -f;                  \
+               -exec rm -f {} \;               \
                                                \
        tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION)/;