This commit is contained in:
Joey Hess 2012-09-06 13:51:44 -04:00
parent 682ae30a08
commit ec23eeb9eb

View file

@ -97,9 +97,9 @@ writeOSXDesktop command = do
ifM isRoot
( return ()
, do
let commandfile <- home </> "Desktop" </> "git-annex-webapp.command"
let commandfile = home </> "Desktop" </> "git-annex-webapp.command"
writeFile commandfile $ unwords [command, "webapp"]
mode <- fileMode <$> getFileStatus f
mode <- fileMode <$> getFileStatus commandfile
setFileMode commandfile $ mode `unionFileModes` ownerExecuteMode
)