From: Nick Clifton Date: Wed, 17 Feb 2010 11:02:54 +0000 (+0000) Subject: * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=792cdb506501cd5bba84e66b29ccfa5b2ff34a2c;p=binutils-gdb.git * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found by the find command. --- diff --git a/ChangeLog b/ChangeLog index d319b11676f..eed51232a39 100644 --- 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. diff --git a/Makefile.tpl b/Makefile.tpl index 37317bcaf88..98b526c5a48 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -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;"