aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Ssh.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-06 15:58:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-06 15:58:13 -0400
commitae8912003022be1a8cd77684824a89460c7ff646 (patch)
treec79f54fe1654349312fc95dc4684300a63784bc6 /Assistant/Ssh.hs
parent7df05f6417794713d8c1a7c051f5723cba543542 (diff)
fix use of wrong shebang when android is installing git-annex-shell wrapper on server
Diffstat (limited to 'Assistant/Ssh.hs')
-rw-r--r--Assistant/Ssh.hs2
1 files changed, 1 insertions, 1 deletions
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"