Skip to content

Commit

Permalink
Merge branch 'pb/send-email-cccmd-fix'
Browse files Browse the repository at this point in the history
* pb/send-email-cccmd-fix:
  t/t9001-send-email.sh: ensure generated script is executed with $SHELL_PATH
  • Loading branch information
Junio C Hamano committed Jun 27, 2009
2 parents 2dc7f40 + 977e289 commit 36e74ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/t9001-send-email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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>" \
Expand Down

0 comments on commit 36e74ab

Please sign in to comment.