* Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
authorNick Clifton <nickc@redhat.com>
Wed, 17 Feb 2010 11:02:54 +0000 (11:02 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 17 Feb 2010 11:02:54 +0000 (11:02 +0000)
        the config.cache files found by the find command.

ChangeLog
Makefile.tpl

index d319b11676f22cde1050e47d836d0344935e6928..eed51232a3961f0db975483327f077699ca147f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
        * Makefile.tpl (local-distclean): Also remove config.cache files in
        sub-directories as there may not be Makefiles present in the
        sub-directories.
+       * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
+       the config.cache files found by the find command.
+
        * Makefile.in: Regenerate.
        * configure.ac: Revert previous delta.
        * configure: Regenerate.
index 37317bcaf88aed5ac55dbfa4afe041ca7f69bf9e..98b526c5a488615665113e43837f81044a67d7dc 100644 (file)
@@ -771,7 +771,7 @@ local-distclean:
        -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
        -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
        -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
-       -find . -name config.cache -delete \; 2>/dev/null
+       -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
 
 local-maintainer-clean:
        @echo "This command is intended for maintainers to use;"