X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fgcc-version.sh;h=cc767b388baf7b30ef04b61650911069818d7ba0;hb=d4f127fe2c86f71350b23e518a6a888a079ba879;hp=a5121a6d8949eb6bce96cca1904801f75a8bbe57;hpb=19ea3371abfff6bbfa8ef72b50aba042fd26be6b;p=linux-2.6-omap-h63xx.git 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 @@ # 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="$*"