squelch build warnings on osx
This commit is contained in:
parent
db45fb7048
commit
5feaef773d
1 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ installLocales topdir = cp "/usr/share/i18n" (topdir </> "i18n")
|
||||||
|
|
||||||
installSkel :: FilePath -> FilePath -> IO ()
|
installSkel :: FilePath -> FilePath -> IO ()
|
||||||
#ifdef darwin_HOST_OS
|
#ifdef darwin_HOST_OS
|
||||||
installSkel topdir basedir = do
|
installSkel _topdir basedir = do
|
||||||
whenM (doesDirectoryExist basedir) $
|
whenM (doesDirectoryExist basedir) $
|
||||||
removeDirectoryRecursive basedir
|
removeDirectoryRecursive basedir
|
||||||
createDirectoryIfMissing True (takeDirectory basedir)
|
createDirectoryIfMissing True (takeDirectory basedir)
|
||||||
|
@ -172,7 +172,7 @@ installSkel topdir _basedir = do
|
||||||
|
|
||||||
installSkelRest :: FilePath -> FilePath -> Bool -> IO ()
|
installSkelRest :: FilePath -> FilePath -> Bool -> IO ()
|
||||||
#ifdef darwin_HOST_OS
|
#ifdef darwin_HOST_OS
|
||||||
installSkelRest topdir basedir _hwcaplibs = do
|
installSkelRest _topdir basedir _hwcaplibs = do
|
||||||
plist <- lines <$> readFile "standalone/osx/Info.plist.template"
|
plist <- lines <$> readFile "standalone/osx/Info.plist.template"
|
||||||
version <- getVersion
|
version <- getVersion
|
||||||
writeFile (basedir </> "Contents" </> "Info.plist")
|
writeFile (basedir </> "Contents" </> "Info.plist")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue