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
507f48d1
Commit
507f48d1
authored
Feb 08, 2016
by
Andrey Mokhov
Browse files
Minor revision.
parent
0678acb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Rules/Actions.hs
View file @
507f48d1
...
...
@@ -106,17 +106,16 @@ runConfigure dir opts args = do
need
[
dir
-/-
"configure"
]
let
args'
=
filter
(
not
.
null
)
args
note
=
if
null
args'
then
""
else
" ("
++
intercalate
", "
args'
++
")"
-- Always configure with bash.
-- This also injects /bin/bash into `libtool`, instead of /bin/sh
opts'
=
opts
++
[
AddEnv
"CONFIG_SHELL"
"/bin/bash"
]
if
dir
==
"."
then
do
putBuild
$
"| Run configure"
++
note
++
"..."
quietly
$
cmd
Shell
(
EchoStdout
False
)
"bash configure"
opts'
args
quietly
$
cmd
Shell
(
EchoStdout
False
)
"bash configure"
opts'
args
'
else
do
putBuild
$
"| Run configure"
++
note
++
" in "
++
dir
++
"..."
quietly
$
cmd
Shell
(
EchoStdout
False
)
[
Cwd
dir
]
"bash configure"
opts'
args
where
-- Always configure with bash.
-- This also injects /bin/bash into `libtool`, instead of /bin/sh
opts'
=
opts
++
[
AddEnv
"CONFIG_SHELL"
"/bin/bash"
]
quietly
$
cmd
Shell
(
EchoStdout
False
)
[
Cwd
dir
]
"bash configure"
opts'
args'
runMake
::
FilePath
->
[
String
]
->
Action
()
runMake
=
runMakeWithVerbosity
False
...
...
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