aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/gcc-version.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/gcc-version.sh b/scripts/gcc-version.sh
index a5121a6d894..cc767b388ba 100644
--- a/scripts/gcc-version.sh
+++ b/scripts/gcc-version.sh
@@ -9,7 +9,10 @@
9# gcc-2.95.3, `030301' for gcc-3.3.1, etc. 9# gcc-2.95.3, `030301' for gcc-3.3.1, etc.
10# 10#
11 11
12if [[ $1 = "-p" ]] ; then with_patchlevel=1; shift; fi 12if [ "$1" = "-p" ] ; then
13 with_patchlevel=1;
14 shift;
15fi
13 16
14compiler="$*" 17compiler="$*"
15 18