diff options
author | Joey Hess <joey@kitenet.net> | 2012-11-28 16:09:38 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-11-28 16:09:38 -0400 |
commit | fb71a853d0013cfb20dbe4a59eba68a022005724 (patch) | |
tree | 7153a24355009e850d3885dcb9de68661c7c48f6 /Assistant/Install.hs | |
parent | 90eabc3e24223c426562834eab2128a8d4cf5d7c (diff) |
Fix broken .config/git-annex/program installed by standalone tarball.
It was doubly broken; both missing a slash, and containing
"runshell git-annex", while some parts of the code expected it to be a
simple path to a program. This appears to include the transfer queue
runner, and the code that starts a new assistant process when switching to
another repository in the webapp.
Diffstat (limited to 'Assistant/Install.hs')
-rw-r--r-- | Assistant/Install.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs index 97f2dee94..6fa30f250 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -39,7 +39,7 @@ ensureInstalled = go =<< standaloneAppBase where go Nothing = noop go (Just base) = do - let program = base ++ "runshell git-annex" + let program = base <$> "git-annex" programfile <- programFile createDirectoryIfMissing True (parentDir programfile) writeFile programfile program |