Skip to content
GitLab
Menu
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
15ac71a4
Commit
15ac71a4
authored
Mar 19, 2009
by
Ian Lynagh
Browse files
Don't hardcode sh as the shell, use $(SHELL) instead
parent
4264234a
Changes
1
Show whitespace changes
Inline
Side-by-side
testsuite/mk/boilerplate.mk
View file @
15ac71a4
...
...
@@ -13,7 +13,7 @@ show:
define
canonicalise
# $1 = path variable
$1_CYGPATH
:=
$
$(
shell
sh
-c
"cygpath -m
$$
(
$1
)
"
2> /dev/null
)
$1_CYGPATH
:=
$
$(
shell
$(SHELL)
-c
"cygpath -m
$$
(
$1
)
"
2> /dev/null
)
ifneq
"$$($1_CYGPATH)" ""
$1
:=
$$
(
$1_CYGPATH
)
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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