From 4e4b77bb2f73eedca2d0680b7bfd2d7cd340afcd Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlKguAW2rkgcUqK2mmxlYnh4Jj578A4AIA" Date: Mon, 29 Oct 2012 12:43:17 +0000 Subject: --- doc/bugs/Detection_assumes_that_shell_is_bash.mdwn | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'doc/bugs') diff --git a/doc/bugs/Detection_assumes_that_shell_is_bash.mdwn b/doc/bugs/Detection_assumes_that_shell_is_bash.mdwn index 86a540bba..23298bff6 100644 --- a/doc/bugs/Detection_assumes_that_shell_is_bash.mdwn +++ b/doc/bugs/Detection_assumes_that_shell_is_bash.mdwn @@ -1,14 +1,18 @@ -What steps will reproduce the problem? +###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? +###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?### -What version of git-annex are you using? On what operating system? git-annex version: 3.20121017 -Please provide any additional information below. +###Please provide any additional information below.### + +Not everyone has bash as there login-shell. -- cgit v1.2.3