Use rules_bazel_integration_test to download Bazel binary (#8495)

This commit is contained in:
Marcel
2025-01-22 01:51:08 +01:00
committed by GitHub
parent 121c4c99ae
commit e67310bf1c
3 changed files with 45 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null || \
{ echo>&2 "ERROR: cannot find $f"; exit 1; }; f=; set -e
# --- end runfiles.bash initialization v3 ---
BAZEL_BIN="$(rlocation bazel_linux_x86_64/file/bazel)"
BAZEL_BIN="$(rlocation {{BAZEL_PATH}})"
readonly BAZEL_BIN
if [[ ! -x "${BAZEL_BIN}" ]]; then