Commit fce6921f authored by Neil Mitchell's avatar Neil Mitchell
Browse files

#189, clear PWD so we can be sure it has the Unix-style path even on Windows

parent 4cc0abb9
......@@ -11,6 +11,11 @@ setupEnvironment = do
-- ghc-cabal refuses to work when GHC_PACKAGE_PATH is set (e.g. by Stack)
unsetEnv "GHC_PACKAGE_PATH"
-- in MinGW if PWD is set to a Windows "C:\\" style path then configure
-- `pwd` will return the Windows path, and then modifying $PATH will fail.
-- See https://github.com/snowleopard/shaking-up-ghc/issues/189 for details.
unsetEnv "PWD"
-- On Windows, some path variables start a prefix like "C:\\" which may
-- lead to failures of scripts such as autoreconf. One particular variable
-- which causes issues is ACLOCAL_PATH. At the moment we simply reset it
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment