diff options
author | Kristina Chodorow <kchodorow@google.com> | 2016-02-01 17:42:07 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2016-02-02 14:57:27 +0000 |
commit | dccd81fe23111818d63a61d882f65a8b412de4e2 (patch) | |
tree | 485d1a4ce12173b3d2d3591665d8e905b9945e57 /compile.sh | |
parent | 0b3ee9fb3bc2b10dfdfbe249c20d661f1cd8662e (diff) |
Make sure $BAZEL is set when `./compile.sh test` is run
Fixes #832.
--
MOS_MIGRATED_REVID=113537330
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh index 880555dc80..bf13174213 100755 --- a/compile.sh +++ b/compile.sh @@ -68,6 +68,8 @@ if [ ! -x "${BAZEL}" ]; then display "$INFO $0 ${COMMANDS} /path/to/bazel" new_step 'Building Bazel from scratch' source scripts/bootstrap/compile.sh + # The DO_COMPILE flow will actually create the bazel binary and set BAZEL. + DO_COMPILE=1 fi # |