Fix unbound variable err then BUILD_ONLY env var not set
This commit is contained in:
parent
1c4eabd247
commit
a3ff89855f
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ cd $BUILD_DIR
|
||||||
$QT_CMAKE -S $PROJECT_DIR -B $BUILD_DIR
|
$QT_CMAKE -S $PROJECT_DIR -B $BUILD_DIR
|
||||||
cmake --build . --config release --target all
|
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
|
echo Succesfull build $APP_NAME, path to binary: $BUNDLE_DIR
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue