aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bootstrap
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2017-03-07 15:28:51 +0000
committerGravatar Vladimir Moskva <vladmos@google.com>2017-03-07 17:14:03 +0000
commit9dfbed1ca5228086387cfbdf385fdfe1dc9242e7 (patch)
tree2f6e733773d7bd2b047e4c7e1db0a7ca648fac13 /scripts/bootstrap
parent51eafed7eba88ae716da4f33f2133d4860862438 (diff)
*** Reason for rollback *** broke //src/test/shell/bazel:bazel_bootstrap_distfile_test *** Original change description *** Env.vars: server won't ignore the client env Make the --ignore_client_env flag a no-op. The client will pass --client_env flags to the server even in --batch mode. This simplifies the code as well as ensuring that the server always uses the up-do-date client environment. We'll gradually get rid of all System.getenv calls in the server, because the server should always respect the client env. -- PiperOrigin-RevId: 149416602 MOS_MIGRATED_REVID=149416602
Diffstat (limited to 'scripts/bootstrap')
-rwxr-xr-xscripts/bootstrap/compile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh
index 19f9abfa42..ec7156937d 100755
--- a/scripts/bootstrap/compile.sh
+++ b/scripts/bootstrap/compile.sh
@@ -327,6 +327,7 @@ function run_bazel_jar() {
--ignore_unsupported_sandboxing \
--startup_time=329 --extract_data_time=523 \
--rc_source=/dev/null --isatty=1 \
+ --ignore_client_env \
--client_cwd=${PWD} \
"${@}"
}