Commit: fd251cb983a0be8628d4e435aed2775cf37c5f71 Author: David Soria Parra <d...@php.net> Sat, 24 Mar 2012 12:15:15 +0100 Parents: 8e826dd710ddcbc2464f5e978f1f2a4105a66d7d Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=fd251cb983a0be8628d4e435aed2775cf37c5f71 Log: Dont add an additional newline to the input Changed paths: M hooks/post-receive Diff: fd251cb983a0be8628d4e435aed2775cf37c5f71 diff --git a/hooks/post-receive b/hooks/post-receive index 2045e42..748e80e 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -1,5 +1,5 @@ #!/bin/sh in=$(cat) -[ -f 'hooks/post-receive.mail' ] && (echo "$in" | hooks/post-receive.mail ) -[ -f 'hooks/post-receive.bugsweb' ] && (echo "$in" | hooks/post-receive.bugsweb ) +[ -f 'hooks/post-receive.mail' ] && (echo -n "$in" | hooks/post-receive.mail ) +[ -f 'hooks/post-receive.bugsweb' ] && (echo -n "$in" | hooks/post-receive.bugsweb ) [ -f 'hooks/post-receive.mirror' ] && hooks/post-receive.mirror -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php