Switch back to a BIN_ROOT definition that works on all platforms
authorIan Lynagh <igloo@earth.li>
Tue, 13 Oct 2009 12:18:46 +0000 (12:18 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 13 Oct 2009 12:18:46 +0000 (12:18 +0000)
provided there are no spaces in the path

testsuite/mk/boilerplate.mk

index 4623a68..abfaf0b 100644 (file)
@@ -80,7 +80,7 @@ endif
 
 endif
 
-BIN_ROOT = $(TEST_HC)/..
+BIN_ROOT = $(dir $(TEST_HC))
 
 ifeq "$(GHC_PKG)" ""
 GHC_PKG := $(BIN_ROOT)/ghc-pkg