com karma: fix one line ref bug: hooks/post-receive

From: Date: Sat, 24 Mar 2012 11:03:27 +0000
Subject: com karma: fix one line ref bug: hooks/post-receive
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-68171@lists.php.net to get a copy of this message
Commit: 8e826dd710ddcbc2464f5e978f1f2a4105a66d7d Author: Alexander Moskaliov <irker@php.net> Sat, 24 Mar 2012 15:03:27 +0400 Parents: 31ccabcd4f9c19844192f3b7fa72c2bbaf2ed6b7 Branches: master Link: http://git.php.net/?p=karma.git;a=commitdiff;h=8e826dd710ddcbc2464f5e978f1f2a4105a66d7d Log: fix one line ref bug Changed paths: M hooks/post-receive Diff: 8e826dd710ddcbc2464f5e978f1f2a4105a66d7d diff --git a/hooks/post-receive b/hooks/post-receive index 74fce6b..2045e42 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 "$in" | hooks/post-receive.mail ) +[ -f 'hooks/post-receive.bugsweb' ] && (echo "$in" | hooks/post-receive.bugsweb ) [ -f 'hooks/post-receive.mirror' ] && hooks/post-receive.mirror

« previous php.cvs (#68171) next »