diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2016-09-05 07:07:58 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-09-06 15:38:20 +0000 |
commit | cd369d3a8c80cb51a38acf8d35dc6541a0867232 (patch) | |
tree | fe4b09264d54466211aa18fe8e70f4e9963facc2 /scripts/bootstrap | |
parent | 6b4b269adf1ae367a7df006d6c86b4ff6a592678 (diff) |
Rollback of commit a51ca6fa732af58a7d1667d408a2511ffa3199da.
*** Reason for rollback ***
Still broken. :(
*** Original change description ***
Windows bootstrapping: Fix compile.sh when $TMP is unset.
Fixes https://github.com/bazelbuild/bazel/issues/1714
--
MOS_MIGRATED_REVID=132217266
Diffstat (limited to 'scripts/bootstrap')
-rwxr-xr-x | scripts/bootstrap/buildenv.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh index afce0a12db..610a218ec9 100755 --- a/scripts/bootstrap/buildenv.sh +++ b/scripts/bootstrap/buildenv.sh @@ -59,10 +59,7 @@ esac # Fix TMPDIR on msys case "${PLATFORM}" in msys*|mingw*) - # Use long, Unix-style paths. - default_tmp="$(cygpath -u "$(cygpath -mlW)")/Temp" - [ -n "$TMP" ] && default_tmp="$(cygpath -u "$(cygpath -ml "$TMP")")" - TMPDIR=${TMPDIR:-$default_tmp} + TMPDIR=${TMPDIR:-$(cygpath -m $TMP)} esac |