Fix *.bat scripts (#390)

This commit is contained in:
Paul I 2018-03-12 10:15:31 +03:00 committed by xarkes
parent bf72e4c2b7
commit 1a7ac79bfc
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,8 @@
@ECHO off
SETLOCAL ENABLEDELAYEDEXPANSION
IF "%Platform%" == "X64" (
FOR /F %%i in ('powershell -c "\"%Platform%\".toLower()"') DO SET PLATFORM=%%i
IF "%PLATFORM%" == "x64" (
SET MSBUILDPLATFORM=x64
SET BITS=64
) ELSE (

View File

@ -1,7 +1,8 @@
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
IF "%Platform%" == "X64" (
FOR /F %%i in ('powershell -c "\"%Platform%\".toLower()"') DO SET PLATFORM=%%i
IF "%PLATFORM%" == "x64" (
SET BITS=64
) ELSE (
SET BITS=32