From 5feaef773dca3af00342bb8c71595c33d813ce81 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 7 Aug 2020 13:49:56 -0400 Subject: [PATCH] squelch build warnings on osx --- Build/Standalone.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/Standalone.hs b/Build/Standalone.hs index 417c0d7294..15ac2f252a 100644 --- a/Build/Standalone.hs +++ b/Build/Standalone.hs @@ -155,7 +155,7 @@ installLocales topdir = cp "/usr/share/i18n" (topdir "i18n") installSkel :: FilePath -> FilePath -> IO () #ifdef darwin_HOST_OS -installSkel topdir basedir = do +installSkel _topdir basedir = do whenM (doesDirectoryExist basedir) $ removeDirectoryRecursive basedir createDirectoryIfMissing True (takeDirectory basedir) @@ -172,7 +172,7 @@ installSkel topdir _basedir = do installSkelRest :: FilePath -> FilePath -> Bool -> IO () #ifdef darwin_HOST_OS -installSkelRest topdir basedir _hwcaplibs = do +installSkelRest _topdir basedir _hwcaplibs = do plist <- lines <$> readFile "standalone/osx/Info.plist.template" version <- getVersion writeFile (basedir "Contents" "Info.plist")