diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-09-09 13:21:41 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-09-09 13:21:41 -0700 |
commit | 6af9a9850aff75e15c6f9ab577af5b818531d6ee (patch) | |
tree | d9f41fba55d4b9bc67c7f8ada20c3a8a073edd77 /scripts/common_bazel.sh | |
parent | a8943325db43d04be8a10157f6d3f3180e5170a5 (diff) | |
parent | 1a0a940587e4db8923ca81b78d7bba395eb56ce1 (diff) |
Merge pull request #824 from amscanne:fix_build2
PiperOrigin-RevId: 268062329
Diffstat (limited to 'scripts/common_bazel.sh')
-rwxr-xr-x | scripts/common_bazel.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/common_bazel.sh b/scripts/common_bazel.sh index 42248cb25..5340c7323 100755 --- a/scripts/common_bazel.sh +++ b/scripts/common_bazel.sh @@ -48,7 +48,8 @@ fi # Wrap bazel. function build() { - bazel build "${BAZEL_RBE_FLAGS[@]}" "${BAZEL_RBE_AUTH_FLAGS[@]}" "${BAZEL_FLAGS[@]}" "$@" + bazel build "${BAZEL_RBE_FLAGS[@]}" "${BAZEL_RBE_AUTH_FLAGS[@]}" "${BAZEL_FLAGS[@]}" "$@" 2>&1 | + tee /dev/fd/2 | grep -E '^ bazel-bin/' | awk '{ print $1; }' } function test() { |