From c83299511f61335394ff297826c78671aad084d4 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 27 Feb 2012 16:00:45 -0500 Subject: [PATCH] tools: protect ccache detection to avoid pollution on stderr Signed-off-by: Jean Privat --- bin/gccx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gccx b/bin/gccx index 8159f30..fa369a6 100755 --- a/bin/gccx +++ b/bin/gccx @@ -69,7 +69,7 @@ return $res } cache=true -if ccache -V 2>/dev/null >/dev/null; then +if ( ccache -V ) 2>/dev/null >/dev/null; then cache=ccache fi -- 1.7.9.5