summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-06 13:51:44 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-06 13:51:44 -0400
commitec23eeb9eb273438a59f287f9252e7b1af987fc9 (patch)
treee911afd4d5b6a39fa039953ece719ef92c789728 /Build
parent682ae30a088a45c4f1210d512d8035a64834f895 (diff)
typos
Diffstat (limited to 'Build')
-rw-r--r--Build/InstallDesktopFile.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/InstallDesktopFile.hs b/Build/InstallDesktopFile.hs
index 92adacff9..035d16016 100644
--- a/Build/InstallDesktopFile.hs
+++ b/Build/InstallDesktopFile.hs
@@ -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
)