osx build fix
This commit is contained in:
parent
93d0abaaa6
commit
1c13745112
2 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@
|
|||
|
||||
module Build.OSXMkLibs (mklibs) where
|
||||
|
||||
import System.Environment (getArgs)
|
||||
import Data.Maybe
|
||||
import System.FilePath
|
||||
import Control.Monad
|
||||
|
|
|
@ -135,7 +135,7 @@ installMagic topdir = getEnv "OSX_MAGIC_FILE" >>= \case
|
|||
Just f -> do
|
||||
let mdir = topdir </> "magic"
|
||||
createDirectoryIfMissing True mdir
|
||||
unlessM (boolSystem "cp" [File f, File mdir </> "magic.mgc") $
|
||||
unlessM (boolSystem "cp" [File f, File mdir </> "magic.mgc"]) $
|
||||
error "cp failed"
|
||||
#else
|
||||
installMagic topdir = do
|
||||
|
|
Loading…
Reference in a new issue