Fix a non-determinism in create_embedded_tools.py.
PiperOrigin-RevId: 246804128
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh
index bfc0d6e..069ee91 100755
--- a/scripts/bootstrap/compile.sh
+++ b/scripts/bootstrap/compile.sh
@@ -272,7 +272,7 @@
# Set up @bazel_tools//platforms properly
mkdir -p ${BAZEL_TOOLS_REPO}/platforms
- cp tools/platforms/platforms.BUILD ${BAZEL_TOOLS_REPO}/platforms/BUILD
+ cp tools/platforms/BUILD.tools ${BAZEL_TOOLS_REPO}/platforms/BUILD
# Overwrite tools.WORKSPACE, this is only for the bootstrap binary
chmod u+w "${OUTPUT_DIR}/classes/com/google/devtools/build/lib/bazel/rules/tools.WORKSPACE"