Skip to content

Commit

Permalink
Detect .exe in another way, compatible with older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmitchell committed Mar 18, 2019
1 parent fce4e96 commit b51ac09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Development/Shake/Command.hs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ commandExplicit funcName oopts results prog args = do
-- run quietly to supress the tracer (don't want to print twice)
(if verb >= Loud then quietly else id) act

let dropExe x = if isExtensionOf exe x then dropExtension x else x
let dropExe x = if x -<.> exe == x then dropExtension x else x
let tracer = case reverse [x | Traced x <- opts] of
"":_ -> liftIO
msg:_ -> traced msg
Expand Down

0 comments on commit b51ac09

Please sign in to comment.