From a3ff89855fc4900c39ea0d6d2bf66fb4eac52840 Mon Sep 17 00:00:00 2001 From: sigseg5 Date: Fri, 19 May 2023 12:50:36 +0400 Subject: [PATCH] Fix unbound variable err then BUILD_ONLY env var not set --- deploy/build_macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/build_macos.sh b/deploy/build_macos.sh index bb12f625..062b4ae8 100755 --- a/deploy/build_macos.sh +++ b/deploy/build_macos.sh @@ -81,7 +81,7 @@ cd $BUILD_DIR $QT_CMAKE -S $PROJECT_DIR -B $BUILD_DIR cmake --build . --config release --target all -if [ "$BUILD_ONLY" = "True" ] || [ "$BUILD_ONLY" = "true" ]; then +if [ "${BUILD_ONLY:-}" = "True" ] || [ "${BUILD_ONLY:-}" = "true" ]; then echo Succesfull build $APP_NAME, path to binary: $BUNDLE_DIR exit 0 fi