kbuild: fix buglet in gcc-version.sh
[pandora-kernel.git] / scripts / gcc-version.sh
index a5121a6..cc767b3 100644 (file)
@@ -9,7 +9,10 @@
 # gcc-2.95.3, `030301' for gcc-3.3.1, etc.
 #
 
-if [[ $1 = "-p" ]] ; then with_patchlevel=1; shift; fi
+if [ "$1" = "-p" ] ; then
+       with_patchlevel=1;
+       shift;
+fi
 
 compiler="$*"