]> code.ossystems Code Review - openembedded-core.git/commit
oe-git-proxy: Redirect error messages to STDERR
authorJuro Bystricky <juro.bystricky@intel.com>
Fri, 27 Mar 2015 17:17:35 +0000 (10:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 29 Mar 2015 22:07:17 +0000 (23:07 +0100)
commit960a7f7ae24e72efc165a431f8b91b3f3b176916
tree4ff8c9dfe4c516643aa7671b1628463adf16b2bd
parentdd8099ca3092fbd5c685e5ef1b1c5a8185a6893d
oe-git-proxy: Redirect error messages to STDERR

oe-git-proxy script needs socat. If socat is not found,
an error message is issued on STDOUT. This leads to a misleading
git message:

fatal: protocol error: bad line length character: ERRO

instead of the intended message:

ERROR: socat binary not in PATH

Redirecting the error message to STDERR fixes this issue.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-git-proxy