Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'pb/send-email-cccmd-fix'
author
Junio C Hamano
<gitster@pobox.com>
Sat, 27 Jun 2009 21:13:43 +0000
(14:13 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 27 Jun 2009 21:13:43 +0000
(14:13 -0700)
* pb/send-email-cccmd-fix:
t/t9001-send-email.sh: ensure generated script is executed with $SHELL_PATH
t/t9001-send-email.sh
patch
|
blob
|
history
raw
(from parent 1:
2dc7f40
)
diff --git
a/t/t9001-send-email.sh
b/t/t9001-send-email.sh
index fb7d9f3e4a9e111e22299a29ca5af3a42101fbdc..fb606a9f05bd6964c588f1ba9e5422e757d12387 100755
(executable)
--- 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>" \