osx build fix
This commit is contained in:
parent
24e5bca2e0
commit
db45fb7048
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ installMagic topdir = getEnv "OSX_MAGIC_FILE" >>= \case
|
||||||
Just f -> do
|
Just f -> do
|
||||||
let mdir = topdir </> "magic"
|
let mdir = topdir </> "magic"
|
||||||
createDirectoryIfMissing True mdir
|
createDirectoryIfMissing True mdir
|
||||||
unlessM (boolSystem "cp" [File f, File mdir </> "magic.mgc"]) $
|
unlessM (boolSystem "cp" [File f, File (mdir </> "magic.mgc")]) $
|
||||||
error "cp failed"
|
error "cp failed"
|
||||||
#else
|
#else
|
||||||
installMagic topdir = do
|
installMagic topdir = do
|
||||||
|
|
Loading…
Reference in a new issue