diff options
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Install.hs | 2 | ||||
-rw-r--r-- | Assistant/Ssh.hs | 2 | ||||
-rw-r--r-- | Assistant/XMPP/Git.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs index ac1af0135..278190b35 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -63,7 +63,7 @@ ensureInstalled = go =<< standaloneAppBase let runshell var = "exec " ++ base </> "runshell" ++ " git-annex-shell -c \"" ++ var ++ "\"" let content = unlines - [ shebang + [ shebang_local , "set -e" , "if [ \"x$SSH_ORIGINAL_COMMAND\" != \"x\" ]; then" , runshell "$SSH_ORIGINAL_COMMAND" diff --git a/Assistant/Ssh.hs b/Assistant/Ssh.hs index c7543d3bd..0c718d019 100644 --- a/Assistant/Ssh.hs +++ b/Assistant/Ssh.hs @@ -125,7 +125,7 @@ addAuthorizedKeysCommand rsynconly dir pubkey = intercalate "&&" echoval v = "echo " ++ shellEscape v wrapper = "~/.ssh/git-annex-shell" script = - [ shebang + [ shebang_portable , "set -e" , "if [ \"x$SSH_ORIGINAL_COMMAND\" != \"x\" ]; then" , runshell "$SSH_ORIGINAL_COMMAND" diff --git a/Assistant/XMPP/Git.hs b/Assistant/XMPP/Git.hs index c1605bee2..6a50e13f6 100644 --- a/Assistant/XMPP/Git.hs +++ b/Assistant/XMPP/Git.hs @@ -156,7 +156,7 @@ xmppPush cid gitpush handledeferred = runPush SendPack cid handledeferred $ do let wrapper = tmpdir </> "git-remote-xmpp" program <- readProgramFile writeFile wrapper $ unlines - [ shebang + [ shebang_local , "exec " ++ program ++ " xmppgit" ] modifyFileMode wrapper $ addModes executeModes |