diff options
author | 2017-01-02 11:35:35 +0000 | |
---|---|---|
committer | 2017-01-03 15:03:23 +0000 | |
commit | 224a3ddc8ae195f303117e4407052e6f89ff694f (patch) | |
tree | 62b33e13ca44454474f2dd2e5b03b8973936006b /CONTRIBUTING.md | |
parent | 112840b4d6fafd04e2381a2e52fbad848a818ea6 (diff) |
Bazel client, Windows: fix MSYS root retrieval
The file_windows.cc:MsysRoot::Get() function was
incorrectly assuming that bash.exe is usually
under c:\tools\msys64\bin\bash.exe when in reality
it's c:\tools\msys64\usr\bin\bash.exe, so we need
to walk up one more directory.
Unfortunately the test was assuming the same so
the bug wasn't caught.
The new code is a bit more foolproof in that it
looks for an msys-looking final path segment and
assumes that to be the msys root.
Fixes https://github.com/bazelbuild/bazel/issues/2323
--
PiperOrigin-RevId: 143372193
MOS_MIGRATED_REVID=143372193
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions