Commit 501d458b authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Define BIN_ROOT in a way that works if the path contains spaces

parent b3c27bc1
......@@ -80,7 +80,9 @@ endif
endif
BIN_ROOT = $(dir $(TEST_HC))
# We can't use $(dir ...) here as TEST_HC might be in a path
# containing spaces
BIN_ROOT = $(shell dirname '$(TEST_HC)')
ifeq "$(GHC_PKG)" ""
GHC_PKG := $(BIN_ROOT)/ghc-pkg
......
Markdown is supported
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