diff options
author | Dmitry Lomov <dslomov@google.com> | 2016-01-29 12:08:56 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-01-29 14:42:50 +0000 |
commit | cc9a2d112b9eb5ebacabdee43898a845cf594216 (patch) | |
tree | 008dbea5c6c430ee3b0e4b914f120d3a338bacd3 /compile.sh | |
parent | 58dbb7f81a994629d8da08fc383dcca5aa3a4b0a (diff) |
Use label syntax that is immune to MSYS path mangling in bootstrap scripts.
On Windows, MSYS will mangle all arguments that resemble Unix paths
when executing (exec*()) non-msys executables (in an attempt to convert
them to Windows paths). This affects ``//src:bazel`` (it becomes
``/src:bazel``) but not ``src:bazel``. This CL converts to the latter in
bootstrapping shell scripts to work around this issue.
--
MOS_MIGRATED_REVID=113349821
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh index 9f435e0b2b..880555dc80 100755 --- a/compile.sh +++ b/compile.sh @@ -89,7 +89,7 @@ if [ $DO_COMPILE ]; then new_step 'Building Bazel with Bazel' display "." log "Building output/bazel" - bazel_build //src:bazel + bazel_build src:bazel cp -f bazel-bin/src/bazel output/bazel chmod 0755 output/bazel BAZEL=$(pwd)/output/bazel |