Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in package-bazel.sh
bazel build -c //src:bazel.exe //src:bazel_nojdk.exe sometimes output corrupted binaries on Windows. The reason is when we are executing the genrule for packaging the bazel zip files, we are writing a "file.list" file into the execroot, however there is no sandbox on Windows. So two actions are actually sharing the same path for the "file.list", this PR fixes the issue by writing the "file.list" file under the tmp dir. Fixes bazelbuild#16613
- Loading branch information