diff --git a/Assistant/Install.hs b/Assistant/Install.hs index c1827ae541..750b4a9adc 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -61,7 +61,7 @@ ensureInstalled = ifM (isJust <$> getEnv "GIT_ANNEX_PACKAGE_INSTALL") #ifdef darwin_HOST_OS autostartfile <- userAutoStart osxAutoStartLabel - installAutoStart program autostartfile + installAutoStart (fromOsPath program) autostartfile #else ifM osAndroid ( do diff --git a/Assistant/Threads/Watcher.hs b/Assistant/Threads/Watcher.hs index 1e38195cfe..33b63be694 100644 --- a/Assistant/Threads/Watcher.hs +++ b/Assistant/Threads/Watcher.hs @@ -165,7 +165,7 @@ ignored = ig . takeFileName | f == literalOsPath ".gitignore" = True | f == literalOsPath ".gitattributes" = True #ifdef darwin_HOST_OS - | f == literlosPath ".DS_Store" = True + | f == literalOsPath ".DS_Store" = True #endif | otherwise = False