From 960a7f7ae24e72efc165a431f8b91b3f3b176916 Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Fri, 27 Mar 2015 10:17:35 -0700 Subject: 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 Signed-off-by: Richard Purdie --- scripts/oe-git-proxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 0ce7ed090e..48734556a1 100755 --- a/scripts/oe-git-proxy +++ b/scripts/oe-git-proxy @@ -19,7 +19,7 @@ # Locate the netcat binary SOCAT=$(which socat 2>/dev/null) if [ $? -ne 0 ]; then - echo "ERROR: socat binary not in PATH" + echo "ERROR: socat binary not in PATH" 1>&2 exit 1 fi METHOD="" -- cgit 1.2.3-korg