fix use of wrong shebang when android is installing git-annex-shell wrapper on server
This commit is contained in:
parent
2a7d573280
commit
749c197947
5 changed files with 15 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue