From 6ead30227b1cf4927bd660698278452656a404a6 Mon Sep 17 00:00:00 2001 From: Xiaoyan Rao <270668624@qq.com> Date: Wed, 28 Feb 2024 02:05:53 +0800 Subject: [PATCH] fix(build): bazel install root not found when build_name is not kong-dev. (#12641) --- scripts/build-wasm-test-filters.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-wasm-test-filters.sh b/scripts/build-wasm-test-filters.sh index 07c5ce887bef..504a4ed0240f 100755 --- a/scripts/build-wasm-test-filters.sh +++ b/scripts/build-wasm-test-filters.sh @@ -22,7 +22,7 @@ set -euo pipefail readonly BUILD_TARGET=wasm32-wasi readonly FIXTURE_PATH=${PWD}/spec/fixtures/proxy_wasm_filters -readonly INSTALL_ROOT=${PWD}/bazel-bin/build/kong-dev +readonly INSTALL_ROOT=${PWD}/bazel-bin/build/${BUILD_NAME:-kong-dev} readonly TARGET_DIR=${INSTALL_ROOT}/wasm-cargo-target readonly KONG_TEST_USER_CARGO_DISABLED=${KONG_TEST_USER_CARGO_DISABLED:-0}