From e79a1107d90380501102990d82cbfaa8f51a1778 Mon Sep 17 00:00:00 2001 From: Laszlo Csomor Date: Fri, 6 Oct 2017 16:45:05 +0200 Subject: 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 --- scripts/bootstrap/buildenv.sh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scripts/bootstrap') 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. # -- cgit v1.2.3