Code

t/t9001-send-email.sh: ensure generated script is executed with $SHELL_PATH
authorBrandon Casey <drafnel@gmail.com>
Mon, 22 Jun 2009 17:32:52 +0000 (12:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jun 2009 23:41:27 +0000 (16:41 -0700)
commit977e289e0d73ad66883425efbd37eadb7d91fd61
treee240c4ae8d814b40554436266a1475ff5a62cdaf
parentcb8a9bd518002dd4fb693df6230b4976bafc15e0
t/t9001-send-email.sh: ensure generated script is executed with $SHELL_PATH

If the shell is not specified using the '#!' notation, then the OS will
use '/bin/sh' to execute the script which may not produce the desired
results.  In particular, /bin/sh on Solaris interprets '^' specially which
has an effect on the sed command that this patch touches.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh