bugfix: Fix issue with argument processing on in BuildImage.sh

This commit is contained in:
Conrad Lara - KG6JEI 2015-01-18 18:45:29 -08:00
parent d188fc7551
commit 98d9fe02c1
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ AUSTINBUILD=false
while getopts "v:a:d:f" flag; do while getopts "v:a:d:f" flag; do
case "$flag" in case "$flag" in
v) REQVERSION=$OPTARG;; v) REQVERSION=$OPTARG;;
a) AUSTINBUILD=TRUE;; a) AUSTINBUILD=true;;
d) DESTINATION=$OPTARG;; d) DESTINATION=$OPTARG;;
f) FILESDIR=$OPTARG;; f) FILESDIR=$OPTARG;;
esac esac
@ -47,7 +47,7 @@ fi
# If not an Austin build we can set the version and go direct, otherwise we need to do some prepwork on the files. # If not an Austin build we can set the version and go direct, otherwise we need to do some prepwork on the files.
if [ ! $AUSTINBUILD ] if ! $AUSTINBUILD
then then
VERSION=$REQVERSION VERSION=$REQVERSION
else else