Skip to content

Commit

Permalink
* Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
Browse files Browse the repository at this point in the history
        the config.cache files found by the find command.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156828 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
nickc committed Feb 17, 2010
1 parent 8072d92 commit 6881525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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;"
Expand Down
2 changes: 1 addition & 1 deletion Makefile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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;"
Expand Down

0 comments on commit 6881525

Please sign in to comment.