X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=scripts%2Fgcc-version.sh;h=debecb5561c481d8076cb97b36857878e6becb37;hb=a208868fc0a90f62a91893b0193459de957c8d8e;hp=a5121a6d8949eb6bce96cca1904801f75a8bbe57;hpb=de47062a17a236543690e0c23dfb30cb11c6e674;p=safe%2Fjmp%2Flinux-2.6 diff --git a/scripts/gcc-version.sh b/scripts/gcc-version.sh index a5121a6..debecb5 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