From ea91ab8b6ef9db2a88e844dcce22c38735ad4bd0 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Wed, 28 Feb 2024 11:07:05 -0500 Subject: [PATCH] Fix JVM example --- .../build_tools/bazel_rules/jar_scanner/py_build_commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/build_tools/bazel_rules/jar_scanner/py_build_commands.py b/example/build_tools/bazel_rules/jar_scanner/py_build_commands.py index fafa73b..392dba0 100644 --- a/example/build_tools/bazel_rules/jar_scanner/py_build_commands.py +++ b/example/build_tools/bazel_rules/jar_scanner/py_build_commands.py @@ -21,12 +21,14 @@ START_BATCH=$(date +%s) set +e +set -x bazel build {targets} \ --aspects build_tools/bazel_rules/jar_scanner/rule.bzl%jar_scanner_aspect \ --output_groups=+jar_scanner_out \ - --override_repository=external_build_tooling_gen={bzl_gen_build_path} \ + --override_repository=external_build_tooling_gen=${{BZL_GEN_BUILD_TOOLS_PATH}} \ --show_result=1000000 2> /tmp/cmd_out RET=$? +set +x if [ "$RET" != "0" ]; then cat /tmp/cmd_out exit $RET