aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2017-10-06 16:45:05 +0200
committerGravatar Klaus Aehlig <aehlig@google.com>2017-10-06 19:50:43 +0200
commite79a1107d90380501102990d82cbfaa8f51a1778 (patch)
treeb3e9b2ad5170cbe8baae6d394717f309861fc99b /scripts
parentddc8e0cd770627d3566ffd51f4802a30416e0cfc (diff)
Windows,bootstrapping: fix build_windows_jni.sh
Also: - check as the first thing in compile.sh that we can locate the GNU coreutils, and remove the duplicate check for the same thing on Windows - check early in compile.sh that we can access python.exe Fixes https://github.com/bazelbuild/bazel/issues/3863 Change-Id: Ib48b405cf93eafd48e21b280bcbab4d45117c1d9 PiperOrigin-RevId: 171291435
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap/buildenv.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh
index 5c3682187c..cbb1365ef9 100755
--- a/scripts/bootstrap/buildenv.sh
+++ b/scripts/bootstrap/buildenv.sh
@@ -129,11 +129,6 @@ function atexit() {
ATEXIT_HANDLERS="${ATEXIT_HANDLERS} ${handler}"
}
-function restore_saved_path() {
- export PATH=$BAZEL_OLD_PATH
- export BAZEL_OLD_PATH=
-}
-
# Exit routine to run all registered atexit handlers.
#
# If the program exited with an error, this exit routine will also exit with the
@@ -183,7 +178,6 @@ function cleanup_phasefile() {
}
atexit cleanup_phasefile
-atexit restore_saved_path
# Excutes a command respecting the current verbosity settings.
#