aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-06-27 14:13:43 -0700
committerJunio C Hamano <gitster@pobox.com>2009-06-27 14:13:43 -0700
commit36e74ab7efa3db38499d1baa61ab0f8c45a133e8 (patch)
tree44ac28070ee77ce136bb21f7d09248ffb364ff75 /t
parent2dc7f40d4424f66e1324a1600de3fcdd115ab07f (diff)
parent977e289e0d73ad66883425efbd37eadb7d91fd61 (diff)
downloadgit-36e74ab7efa3db38499d1baa61ab0f8c45a133e8.tar.gz
git-36e74ab7efa3db38499d1baa61ab0f8c45a133e8.tar.xz
Merge branch 'pb/send-email-cccmd-fix'
* pb/send-email-cccmd-fix: t/t9001-send-email.sh: ensure generated script is executed with $SHELL_PATH
Diffstat (limited to 't')
-rwxr-xr-xt/t9001-send-email.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index fb7d9f3e4..fb606a9f0 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -152,7 +152,10 @@ test_expect_success 'cccmd works' '
clean_fake_sendmail &&
cp $patches cccmd.patch &&
echo cccmd--cccmd@example.com >>cccmd.patch &&
- echo sed -n s/^cccmd--//p \"\$1\" > cccmd-sed &&
+ {
+ echo "#!$SHELL_PATH"
+ echo sed -n -e s/^cccmd--//p \"\$1\"
+ } > cccmd-sed &&
chmod +x cccmd-sed &&
git send-email \
--from="Example <nobody@example.com>" \