Fix parsing of -b option with OPTARG

Follow-up to #2.
This commit is contained in:
Rémi Verschelde
2019-12-18 10:53:39 +01:00
parent 1f7430025d
commit 4d14345d37
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ godot_version=""
build_classical=1
build_mono=1
while getopts "h?v:b" opt; do
while getopts "h?v:b:" opt; do
case "$opt" in
h|\?)
echo "Usage: $0 [OPTIONS...]"

View File

@@ -7,7 +7,7 @@ templates_version=""
build_classical=1
build_mono=1
while getopts "h?v:t:b" opt; do
while getopts "h?v:t:b:" opt; do
case "$opt" in
h|\?)
echo "Usage: $0 [OPTIONS...]"