osx build fix

This commit is contained in:
Joey Hess 2020-08-07 13:30:11 -04:00
parent 24e5bca2e0
commit db45fb7048
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -136,7 +136,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