]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Improve compiler version detection
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 30 May 2010 17:17:10 +0000 (19:17 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 30 May 2010 17:17:10 +0000 (19:17 +0200)
test.sh

diff --git a/test.sh b/test.sh
index 0220e72a7c0b05920e96cb71aca0ac9fd80a280d..aea4c3c1df35e160f758d3a2f05f7713a51bb685 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1313,7 +1313,7 @@ fi
 
 compiler_version="`$COMPILER --version 2>&1 | head -1`"
 case $compiler_version in
-    gcc*|2.95*)
+    *gcc*|2.95*)
         ;;
     *)
         echo "Compiler $COMPILER not supported (version: $compiler_version) -- not running tests" >&2