tool: gccx use long version of the redirection
authorJean-Sebastien Gelinas <calestar@gmail.com>
Tue, 8 Feb 2011 20:44:42 +0000 (15:44 -0500)
committerJean Privat <jean@pryen.org>
Wed, 9 Feb 2011 16:09:11 +0000 (11:09 -0500)
MacOS does not like the short one.

Signed-off-by: Jean-Sebastien Gelinas <calestar@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>

bin/gccx

index 6bcd9cf..ef8af1f 100755 (executable)
--- a/bin/gccx
+++ b/bin/gccx
@@ -67,7 +67,7 @@ return $res
 }
 
 cache=true
-if ccache -V 2>&1 >/dev/null; then
+if ccache -V 2>/dev/null >/dev/null; then
        cache=ccache
 fi