]> 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>
Tue, 31 Mar 2015 21:21:43 +0000 (22:21 +0100)
commitd611d7009631aa8a372f248995b52938163966c6
tree839810cef3f10a3bb1af7a7939df5b7699fbb225
parent7dd17effffc00cd6e58ba6a004b811c8452254d7
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