Re: [PATCH 2/3] t3404: use configured shell instead of /bin/sh
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 23, 2008, 20:34 UTC
- Message-ID
- <7v63wf2yzt.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200802232113.40100.johannes.sixt@telecom.at>
SHELL can be just "bash" or "dash" or whatever. Makefile sets and exports SHELL_PATH so use it when telling which shell to use to fake-editor.sh
t/t3404-rebase-interactive.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh index 62e65d7..049aa37 100755 --- a/t/t3404-rebase-interactive.sh +++ b/t/t3404-rebase-interactive.sh @@ -61,7 +61,7 @@ test_expect_success 'setup' ' git tag I ' -echo "#!$SHELL" >fake-editor +echo "#!$SHELL_PATH" >fake-editor.sh cat >> fake-editor.sh <<\EOF case "$1" in */COMMIT_EDITMSG)