fix executable permissions
sh at least does not default to having a write bit
This commit is contained in:
parent
76b7ab0b35
commit
1c2da18b0b
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ otool appbase libmap = do
|
|||
unprocessed s = not ("@executable_path" `isInfixOf` s)
|
||||
process c [] m = return (nub $ concat c, m)
|
||||
process c (file:rest) m = do
|
||||
_ <- boolSystem "chmod" [Param "755", File file]
|
||||
libs <- filter unprocessed . parseOtool
|
||||
<$> readProcess "otool" ["-L", file]
|
||||
m' <- install_name_tool file libs m
|
||||
|
|
Loading…
Reference in a new issue