Skip to content

Commit a0e7194

Browse files
fix build.sh so that it will parse the opts like --bundle and --prefix (#32)
1 parent a5799c6 commit a0e7194

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ BUILD_TYPE="Release"
66
PRESET=""
77

88
# Initialize optional variables (required for set -u)
9-
DO_BUNDLE=""
10-
DO_ARCHIVE=""
9+
DO_BUNDLE="0"
10+
DO_ARCHIVE="0"
1111
PREFIX=""
1212
ARCHIVE_NAME=""
1313
GENERATOR=""
@@ -301,6 +301,7 @@ if [[ $# -eq 0 ]]; then
301301
fi
302302

303303
cmd="$1"
304+
parse_opts "$@"
304305
case "${cmd}" in
305306
debug)
306307
BUILD_TYPE="Debug"

0 commit comments

Comments
 (0)