From d8e9aea38e4f94a1cb3caf133e9d999214e7c832 Mon Sep 17 00:00:00 2001 From: shijing xian Date: Thu, 8 Jan 2026 21:39:53 +0800 Subject: [PATCH] fix build.sh so that it will parse the opts like --bundle and --prefix --- build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index c13431a..0a01224 100755 --- a/build.sh +++ b/build.sh @@ -6,8 +6,8 @@ BUILD_TYPE="Release" PRESET="" # Initialize optional variables (required for set -u) -DO_BUNDLE="" -DO_ARCHIVE="" +DO_BUNDLE="0" +DO_ARCHIVE="0" PREFIX="" ARCHIVE_NAME="" GENERATOR="" @@ -301,6 +301,7 @@ if [[ $# -eq 0 ]]; then fi cmd="$1" +parse_opts "$@" case "${cmd}" in debug) BUILD_TYPE="Debug"