Commit 0a55d75f authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

contrib: Old syntax should throw an error.

parent 30a5b9d2
...@@ -61,7 +61,7 @@ info() ...@@ -61,7 +61,7 @@ info()
DISTRO= DISTRO=
BUILDDIR=. BUILDDIR=.
while getopts “ht:d:b:i:” OPTION while getopts "ht:d:b:i:" OPTION
do do
case $OPTION in case $OPTION in
h) h)
...@@ -82,10 +82,16 @@ do ...@@ -82,10 +82,16 @@ do
;; ;;
?) ?)
usage usage
exit exit 1
;; ;;
esac esac
done done
shift $(($OPTIND - 1))
if [ "x$1" != "x" ]; then
usage
exit 1
fi
BUILD=`gcc -dumpmachine` BUILD=`gcc -dumpmachine`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment