aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarkDacek <dacek@google.com>2022-12-02 19:18:59 +0000
committerMark Dacek <dacek@google.com>2022-12-05 18:38:24 +0000
commitdbb098c068d5f78ed602fec0230ca0e75cd15c41 (patch)
tree2889bd78f9f2174288a789e8ae26f08aded37e51 /bin
parent532e8d2263ff472d1f8c6828c66b74830992d819 (diff)
downloadbazel-dbb098c068d5f78ed602fec0230ca0e75cd15c41.tar.gz
Properly append 'b' to the build-command.
Test: b build libcore:all, printf in soong to verify Change-Id: I9184e2d5b13a44dbb65b76c4d3980c86f10358af
Diffstat (limited to 'bin')
-rwxr-xr-xbin/b2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/b b/bin/b
index dfc446db..8b61f6a3 100755
--- a/bin/b
+++ b/bin/b
@@ -61,7 +61,7 @@ done
# Generate BUILD, bzl files into the synthetic Bazel workspace (out/soong/workspace).
# RBE is disabled because it's not used with b builds and adds overhead: b/251441524
B_ARGS=$*
-USE_RBE=false "$T/build/soong/soong_ui.bash" --build-mode --all-modules --dir="$(pwd)" $skip_tests bp2build USE_BAZEL_ANALYSIS= --build-command="${B_ARGS}" || exit 1
+USE_RBE=false "$T/build/soong/soong_ui.bash" --build-mode --all-modules --dir="$(pwd)" $skip_tests bp2build USE_BAZEL_ANALYSIS= --build-command="b ${B_ARGS}" || exit 1
# Then, run Bazel using the synthetic workspace as the --package_path.