mirror of https://github.com/aredn/aredn.git
bugfix: Fix issue with argument processing on in BuildImage.sh
This commit is contained in:
parent
d188fc7551
commit
98d9fe02c1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue