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 /scripts | |
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 'scripts')
-rwxr-xr-x | scripts/bootstrap/bootstrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap/bootstrap.sh b/scripts/bootstrap/bootstrap.sh index 16a13c9042..13e71c0e6f 100755 --- a/scripts/bootstrap/bootstrap.sh +++ b/scripts/bootstrap/bootstrap.sh @@ -77,7 +77,7 @@ function get_outputs_sum() { function bootstrap_test() { local BAZEL_BIN=$1 local BAZEL_SUM=$2 - local BAZEL_TARGET=${3:-//src:bazel} + local BAZEL_TARGET=${3:-src:bazel} [ -x "${BAZEL_BIN}" ] || fail "syntax: bootstrap bazel-binary" run_silent ${BAZEL_BIN} --nomaster_bazelrc --bazelrc=${BAZELRC} clean \ --expunge || return $? |