Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/80e9070c77718b7ff0e913182e54842754726ce8 >--------------------------------------------------------------- commit 80e9070c77718b7ff0e913182e54842754726ce8 Author: Ian Lynagh <[email protected]> Date: Sat Nov 19 01:29:05 2011 +0000 Improve the way we call "rm" in the build system; fixes trac #4916 We avoid calling "rm -rf" with no file arguments; this fixes cleaning on Solaris, where that fails. We also check for suspicious arguments: anything containing "..", starting "/", or containing a "*" (you need to call $(wildcard ...) yourself now if you really want globbing). This should make things a little safer. compiler/ghc.mk | 6 +- docs/man/ghc.mk | 2 +- driver/ghci/ghc.mk | 6 +- ghc.mk | 91 ++++++++++++++++++++------------------- ghc/ghc.mk | 4 +- includes/ghc.mk | 2 +- libffi/ghc.mk | 16 ++++---- mk/tree.mk | 21 +++++++++ rules/build-dependencies.mk | 6 +- rules/build-package-way.mk | 4 +- rules/build-package.mk | 4 +- rules/build-perl.mk | 2 +- rules/clean-target.mk | 2 +- rules/docbook.mk | 2 +- rules/manual-package-config.mk | 2 +- rules/shell-wrapper.mk | 4 +- utils/ghc-pkg/ghc.mk | 10 ++-- utils/mkdirhier/ghc.mk | 2 +- utils/runghc/ghc.mk | 2 +- 19 files changed, 106 insertions(+), 82 deletions(-) Diff suppressed because of size. To see it, use: git show 80e9070c77718b7ff0e913182e54842754726ce8 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
