Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jas <necmon@yahoo.com>2015-10-06 00:50:17 +0300
committerPeter Jas <necmon@yahoo.com>2015-10-06 20:54:32 +0300
commit32b0d1727c4989563a61f449bf9b070b1afbf179 (patch)
tree8c7dead2990202874f709ef2b3755dff5e93ac2d /build.cmd
parentb079b9a26b4bb6cf1b4f8c6290cbb5054c9fa6d5 (diff)
build: Unset %Platform% on invoking build.cmd.
Unset `%Platform%`, so build don't get disrupted by the incorrect value set in evn variable. Fixes #69.
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.cmd b/build.cmd
index b4fee251cc..8276e03430 100644
--- a/build.cmd
+++ b/build.cmd
@@ -23,6 +23,11 @@ if not defined VisualStudioVersion (
)
:EnvSet
+:: Clear the 'Platform' env variable for this session,
+:: as it's a per-project setting within the build, and
+:: misleading value (such as 'MCD' in HP PCs) may lead
+:: to build breakage (issue: #69).
+set Platform=
:: Log build command line
set _buildproj=%~dp0build.proj