diff options
Diffstat (limited to 'doc/bugs/Detection_assumes_that_shell_is_bash.mdwn')
-rw-r--r-- | doc/bugs/Detection_assumes_that_shell_is_bash.mdwn | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/doc/bugs/Detection_assumes_that_shell_is_bash.mdwn b/doc/bugs/Detection_assumes_that_shell_is_bash.mdwn deleted file mode 100644 index 9bb0629d3..000000000 --- a/doc/bugs/Detection_assumes_that_shell_is_bash.mdwn +++ /dev/null @@ -1,24 +0,0 @@ -###What steps will reproduce the problem?### - -"Adding a remote server using ssh" and try to add a remote server where the account has ex. tcsh as loginshell - -###What is the expected output? What do you see instead?### - -To discover remote programs, it dumps away some born-shell code like: -"echo git-annex-probe loggedin;if which git-annex-shell; then echo git-annex-probe git-annex-shell; fi;if which rsync; then echo git-annex-probe rsync; fi;if which ~/.ssh/git-annex-shell; then echo git-annex-probe ~/.ssh/git-annex-shell; fi" - -just wrap it with a bash -c '..' and you know that its interpreted by bash. - -###What version of git-annex are you using? On what operating system?### - -git-annex version: 3.20121017 - -###Please provide any additional information below.### - -Not everyone has bash as there login-shell. - -[[!tag /design/assistant]] - -> [[done]]; assistant now uses sh -c "sane shell stuff here" to work -> around csh. (There are systems without bash, but probably fewer without sh) -> --[[Joey]] |