X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=60c70fd9a93d0a67ecf2131e121f641039b48cbd;hb=e6d057711f4d6d6ff6342c39fa2b9e44d25447f1;hp=c2cf2257ebaa4bcaaa086a23770b059d442b6a23;hpb=6e8a4b336eeb90d130d83758d24db7e11bbecdfc;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index c2cf225..60c70fd 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -719,8 +719,8 @@ all :: $(odir)/ghc-inplace ghc-inplace # (On other system, -W isn't a pwd flag at all.) ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" -# MSys -SCRIPT_SHELL = $(shell cd /bin; pwd -W)/sh +# MSys (...and cygwin with a mingw toolchain) +SCRIPT_SHELL = $(shell cd /bin; pwd -W 2>/dev/null | echo "/bin")/sh else # Cygwin and Unix SCRIPT_SHELL = /bin/sh