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
e23dab7c
Commit
e23dab7c
authored
Apr 12, 2016
by
Andrey Mokhov
Browse files
Don't add exe extension to builder paths on Windows.
See
#221
,
#222
.
parent
5b49f649
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Builder.hs
View file @
e23dab7c
...
...
@@ -133,9 +133,7 @@ builderPath builder = case builderProvenance builder of
then
return
""
else
putError
$
"Builder '"
++
builderKey
++
"' is not specified in"
++
" system.config file. Cannot proceed without it."
else
do
path'
<-
lookupInPath
path
fixAbsolutePathOnWindows
$
path'
-<.>
exe
else
fixAbsolutePathOnWindows
=<<
lookupInPath
path
getBuilderPath
::
Builder
->
ReaderT
a
Action
FilePath
getBuilderPath
=
lift
.
builderPath
...
...
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