summaryrefslogtreecommitdiff
path: root/docker/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/build.sh')
-rwxr-xr-xdocker/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/build.sh b/docker/build.sh
index 1c697d40..48dd9f33 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -27,7 +27,7 @@ main() {
mkdir -p "$BUILD_DIR"
CmakeGenerate
- CmakeBuild "$target"
+ CmakeBuild $target
if [[ "$DISABLE_POSTBUILD" != "true" ]]; then
source "$BUILD_DIR/post_build.sh"
@@ -67,7 +67,7 @@ CmakeGenerate() {
CmakeBuild() {
local target="$1"
[[ -n "$target" ]] && target="--target $target"
- cmake --build "$BUILD_DIR" --config $BUILD_TYPE "$target" -- -j$(nproc)
+ cmake --build "$BUILD_DIR" --config $BUILD_TYPE $target -- -j$(nproc)
}
[[ $SOURCED == "false" ]] && main "$@" || echo "Sourced!" \ No newline at end of file