projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c660440
)
fix build on OSX
author
Joey Hess
<joeyh@joeyh.name>
Tue, 10 Nov 2020 15:16:39 +0000
(11:16 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Tue, 10 Nov 2020 15:16:39 +0000
(11:16 -0400)
Assistant/Install/AutoStart.hs
patch
|
blob
|
history
diff --git
a/Assistant/Install/AutoStart.hs
b/Assistant/Install/AutoStart.hs
index 78b9e3c1be8fb0bb152611b303fc43ed5e8842f1..29b110b711c0ded74139a8e5e6aae1fbb73b9174 100644
(file)
--- a/
Assistant/Install/AutoStart.hs
+++ b/
Assistant/Install/AutoStart.hs
@@
-15,12
+15,13
@@
import Utility.FreeDesktop
import Utility.OSX
import Utility.Path
import Utility.Directory
+import Utility.FileSystemEncoding
#endif
installAutoStart :: FilePath -> FilePath -> IO ()
installAutoStart command file = do
#ifdef darwin_HOST_OS
- createDirectoryIfMissing True (
parentDir file
)
+ createDirectoryIfMissing True (
fromRawFilePath (parentDir file)
)
writeFile file $ genOSXAutoStartFile osxAutoStartLabel command
["assistant", "--autostart"]
#else