]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - scripts/gcc-version.sh
3c59x: fix build failure on !CONFIG_PCI
[net-next-2.6.git] / scripts / gcc-version.sh
index a5121a6d8949eb6bce96cca1904801f75a8bbe57..debecb5561c481d8076cb97b36857878e6becb37 100644 (file)
@@ -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 <gcc-command>"
+       printf "Usage:\n\t$0 <gcc-command>\n"
        exit 1
 fi