Call lunch before using b.

lunch is required to set up PATH to access build/bazel/bin/b as b.

Test: run the test
Bug: 255711288
Fixes: 255711288
Change-Id: Ie5bad8ffdacc3d59114f70d7f533486ebd12f778
This commit is contained in:
Jingwen Chen
2022-10-27 12:52:17 +00:00
parent b41bb81505
commit 6db4d4f435

View File

@@ -18,6 +18,9 @@ trap 'exit 1' ERR
source $(dirname $0)/../envsetup.sh
# lunch required to set up PATH to use b
lunch aosp_arm64
test_target=//build/bazel/scripts/difftool:difftool
b build "$test_target"