X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fgcc-version.sh;h=cc767b388baf7b30ef04b61650911069818d7ba0;hb=2e93960c4d712096902c16fe5511fc91502c2527;hp=a5121a6d8949eb6bce96cca1904801f75a8bbe57;hpb=fb9fc395174138983a49f2da982ed14caabbe741;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="$*"