X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fgcc-version.sh;h=debecb5561c481d8076cb97b36857878e6becb37;hb=5ef5da0ff2fc4f04c856f4ce9a757e318a02ad06;hp=a5121a6d8949eb6bce96cca1904801f75a8bbe57;hpb=0b776eb5426752d4e53354ac89e3710d857e09a7;p=pandora-kernel.git diff --git a/scripts/gcc-version.sh b/scripts/gcc-version.sh index a5121a6d8949..debecb5561c4 100644 --- a/scripts/gcc-version.sh +++ b/scripts/gcc-version.sh @@ -9,13 +9,16 @@ # 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="$*" if [ ${#compiler} -eq 0 ]; then echo "Error: No compiler specified." - echo -e "Usage:\n\t$0 " + printf "Usage:\n\t$0 \n" exit 1 fi