diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-01-30 06:59:49 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-30 07:01:52 -0800 |
commit | 4cb8cb806b7ea6351be0948c50675da8f17b09bd (patch) | |
tree | e927021abfdbb74c5e674f2005d89c030a46d795 /tools | |
parent | c13c91dc350c0061ef0fc401febc8459396264ef (diff) |
Windows,bootstrapping: respect TMPDIR
Respect the user-defined TMPDIR, or use TMP or
TEMP on Windows. Since MSYS sets TMP and TEMP to
"/tmp" which is actually "<msysroot>/tmp" (e.g.
"c:\tools\msys64\tmp"), it is shorter than the
Windows-default TEMP directory.
This buys us a bit of headroom to not hit path
length limits while bootstrapping.
Fixes https://github.com/bazelbuild/bazel/issues/4536
Change-Id: I2ab04e3c1c96bc306ef54348cc0c0c2f3fda13ee
PiperOrigin-RevId: 183826475
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions