aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@gcc.gnu.org>2010-02-17 11:01:44 +0000
committerNick Clifton <nickc@gcc.gnu.org>2010-02-17 11:01:44 +0000
commite50390fc024ab252284c4199227d64bde7a821f9 (patch)
tree318181b79d2f739848d1563cd6de94fcca05c585
parentb5e33e042a92c4f005bb7ae62c833c52410140d0 (diff)
downloadgcc-e50390fc024ab252284c4199227d64bde7a821f9.zip
gcc-e50390fc024ab252284c4199227d64bde7a821f9.tar.gz
gcc-e50390fc024ab252284c4199227d64bde7a821f9.tar.bz2
Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found...
* Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found by the find command. From-SVN: r156828
-rw-r--r--Makefile.in2
-rw-r--r--Makefile.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 2f96521..93f66b6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2658,7 +2658,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;"
diff --git a/Makefile.tpl b/Makefile.tpl
index 37317bc..98b526c 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;"