From 9784ecd4a8ac6c4d5715f77dbd42e1fd6dac7d3d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 19 Jul 2013 11:15:13 +0300 Subject: [PATCH] bat files: ignore case when comparing strings. --- build/build_icl13.bat | 10 +++++----- build/build_vs2010.bat | 10 +++++----- build/build_vs2012.bat | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/build/build_icl13.bat b/build/build_icl13.bat index 355b83a6..84425022 100644 --- a/build/build_icl13.bat +++ b/build/build_icl13.bat @@ -104,22 +104,22 @@ IF "%~3" == "" ( :START -IF "%ARCH%" == "x64" GOTO x64 -IF "%ARCH%" == "x86" GOTO x86 +IF /I "%ARCH%" == "x64" GOTO x64 +IF /I "%ARCH%" == "x86" GOTO x86 :x86 CALL "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" x86 -IF "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug Win32 && CALL :SUBMSVC %BUILDTYPE% Release Win32) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% Win32) +IF /I "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug Win32 && CALL :SUBMSVC %BUILDTYPE% Release Win32) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% Win32) -IF "%ARCH%" == "x86" GOTO END +IF /I "%ARCH%" == "x86" GOTO END :x64 CALL "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" x86_amd64 -IF "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug x64 && CALL :SUBMSVC %BUILDTYPE% Release x64) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% x64) +IF /I "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug x64 && CALL :SUBMSVC %BUILDTYPE% Release x64) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% x64) :END diff --git a/build/build_vs2010.bat b/build/build_vs2010.bat index ba27f9fa..1fc53612 100644 --- a/build/build_vs2010.bat +++ b/build/build_vs2010.bat @@ -103,22 +103,22 @@ IF "%~3" == "" ( :START -IF "%ARCH%" == "x64" GOTO x64 -IF "%ARCH%" == "x86" GOTO x86 +IF /I "%ARCH%" == "x64" GOTO x64 +IF /I "%ARCH%" == "x86" GOTO x86 :x86 CALL "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" x86 -IF "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug Win32 && CALL :SUBMSVC %BUILDTYPE% Release Win32) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% Win32) +IF /I "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug Win32 && CALL :SUBMSVC %BUILDTYPE% Release Win32) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% Win32) -IF "%ARCH%" == "x86" GOTO END +IF /I "%ARCH%" == "x86" GOTO END :x64 CALL "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" x86_amd64 -IF "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug x64 && CALL :SUBMSVC %BUILDTYPE% Release x64) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% x64) +IF /I "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug x64 && CALL :SUBMSVC %BUILDTYPE% Release x64) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% x64) :END diff --git a/build/build_vs2012.bat b/build/build_vs2012.bat index 025f0be4..337c5d3e 100644 --- a/build/build_vs2012.bat +++ b/build/build_vs2012.bat @@ -103,22 +103,22 @@ IF "%~3" == "" ( :START -IF "%ARCH%" == "x64" GOTO x64 -IF "%ARCH%" == "x86" GOTO x86 +IF /I "%ARCH%" == "x64" GOTO x64 +IF /I "%ARCH%" == "x86" GOTO x86 :x86 CALL "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" x86 -IF "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug Win32 && CALL :SUBMSVC %BUILDTYPE% Release Win32) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% Win32) +IF /I "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug Win32 && CALL :SUBMSVC %BUILDTYPE% Release Win32) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% Win32) -IF "%ARCH%" == "x86" GOTO END +IF /I "%ARCH%" == "x86" GOTO END :x64 CALL "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" x86_amd64 -IF "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug x64 && CALL :SUBMSVC %BUILDTYPE% Release x64) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% x64) +IF /I "%CONFIG%" == "all" (CALL :SUBMSVC %BUILDTYPE% Debug x64 && CALL :SUBMSVC %BUILDTYPE% Release x64) ELSE (CALL :SUBMSVC %BUILDTYPE% %CONFIG% x64) :END