diff options
| author | Joe Eaves <jinux@alluha.net> | 2020-12-18 17:58:34 (GMT) |
|---|---|---|
| committer | Joe Eaves <jinux@alluha.net> | 2020-12-21 03:10:42 (GMT) |
| commit | 60ef9b54fbe35c1a985c3260e8c90158da129399 (patch) | |
| tree | 00916b001f23f54045fdb8fd5ec6705b8d3af18e /docker/build.sh | |
| parent | a7df0a02799442ab38e1b365d4363cca6d93f029 (diff) | |
Integrate improvements from #137
Also fixed a bug with empty quoted strings
Diffstat (limited to 'docker/build.sh')
| -rwxr-xr-x | docker/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/build.sh b/docker/build.sh index 1c697d4..48dd9f3 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 |
