summaryrefslogtreecommitdiff
path: root/init-tools.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'init-tools.cmd')
-rw-r--r--init-tools.cmd4
1 files changed, 4 insertions, 0 deletions
diff --git a/init-tools.cmd b/init-tools.cmd
index 32634ece12..0905e913b9 100644
--- a/init-tools.cmd
+++ b/init-tools.cmd
@@ -1,6 +1,10 @@
@if not defined _echo @echo off
setlocal
+:: Clear the 'Platform' environment variable for this session
+:: This avoids overriding the default value from BuildTools projects used for initialization
+set Platform=
+
set INIT_TOOLS_LOG=%~dp0init-tools.log
if [%PACKAGES_DIR%]==[] set PACKAGES_DIR=%~dp0.packages
if [%TOOLRUNTIME_DIR%]==[] set TOOLRUNTIME_DIR=%~dp0Tools