We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5322814 commit d9af418Copy full SHA for d9af418
1 file changed
Tools/Install.hs
@@ -63,7 +63,7 @@ mkMachdep flags =
63
64
mkConf :: Flags -> IO ()
65
mkConf flags = do
66
- msg flags $ "create mhs.conf"
+ msg flags "create mhs.conf"
67
unless (dryRun flags) $
68
writeFile "mhs.conf" (conf flags)
69
@@ -90,7 +90,7 @@ checkPath flags = do
90
pathSep | target flags == "windows" = ";"
91
| otherwise = ":"
92
bin = instDir flags </> "bin"
93
- when (bin `notElem` paths) $
+ unless (bin `elem` paths) $
94
putStrLn $ "Please add " ++ bin ++ " to your PATH"
95
96
buildBin :: Flags -> String -> IO ()
0 commit comments