This commit is contained in:
Joey Hess 2012-12-09 13:45:51 -04:00
parent 3ecf3b1a9f
commit 43f7110220

View file

@ -47,7 +47,7 @@ installLibs appbase libmap = do
ifM (doesFileExist dest)
( return Nothing
, do
createDirectoryIfMissing True (parentDir fulllib)
createDirectoryIfMissing True (parentDir dest)
putStrLn $ "installing " ++ lib ++ " as " ++ shortlib
_ <- boolSystem "cp" [File lib, File dest]
_ <- boolSystem "chmod" [Param "644", File dest]