Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
501d458b
Commit
501d458b
authored
Oct 13, 2009
by
Ian Lynagh
Browse files
Define BIN_ROOT in a way that works if the path contains spaces
parent
b3c27bc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/mk/boilerplate.mk
View file @
501d458b
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment