Skip to content

Commit 4d14345

Browse files
committed
Fix parsing of -b option with OPTARG
Follow-up to #2.
1 parent 1f74300 commit 4d14345

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ godot_version=""
2626
build_classical=1
2727
build_mono=1
2828

29-
while getopts "h?v:b" opt; do
29+
while getopts "h?v:b:" opt; do
3030
case "$opt" in
3131
h|\?)
3232
echo "Usage: $0 [OPTIONS...]"

build-templates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ templates_version=""
77
build_classical=1
88
build_mono=1
99

10-
while getopts "h?v:t:b" opt; do
10+
while getopts "h?v:t:b:" opt; do
1111
case "$opt" in
1212
h|\?)
1313
echo "Usage: $0 [OPTIONS...]"

0 commit comments

Comments
 (0)