commit | 9d40a60efec40add9443edbd75b77cdccbbc43dc | [log] [tgz] |
---|---|---|
author | Dmitry Lomov <dslomov@google.com> | Mon Feb 15 16:15:03 2016 +0000 |
committer | Damien Martin-Guillerez <dmarting@google.com> | Tue Feb 16 09:39:56 2016 +0000 |
tree | 5f8db65400fcd5a84cee4678505cff5b9ffb55ac | |
parent | fa465f6f6216c5a3202964edf78e085cb19d5195 [diff] [blame] |
On Windows, build ``bazel.exe`` instead of just ``bazel``. Needed for #276. -- MOS_MIGRATED_REVID=114693711
diff --git a/scripts/bootstrap/buildenv.sh b/scripts/bootstrap/buildenv.sh index c2b30fa..63d0897 100755 --- a/scripts/bootstrap/buildenv.sh +++ b/scripts/bootstrap/buildenv.sh
@@ -36,6 +36,13 @@ MACHINE_IS_ARM='yes' fi +# Extension for executables. +EXE_EXT="" +case "${PLATFORM}" in +msys*|mingw*) + EXE_EXT=".exe" +esac + ATEXIT_="" function atexit() { ATEXIT_="$1; ${ATEXIT_}"