From d02920ead2934c94ad3603bdce18d699af027a9f Mon Sep 17 00:00:00 2001 From: wuyizhong Date: Tue, 12 Dec 2006 05:35:03 +0000 Subject: [PATCH 1/1] make edksetup.bat accept case-insensitive parameters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2084 6f19259b-4bc3-4df7-8a09-765794883524 --- edksetup.bat | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/edksetup.bat b/edksetup.bat index da7c7e5ff0..74f4117b1a 100644 --- a/edksetup.bat +++ b/edksetup.bat @@ -84,14 +84,14 @@ echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WO :path_ok -@if "%1"=="-h" goto Usage -@if "%1"=="-help" goto Usage -@if "%1"=="--help" goto Usage -@if "%1"=="/h" goto Usage -@if "%1"=="/?" goto Usage -@if "%1"=="/help" goto Usage -@if "%1"=="ForceRebuild" goto ForceBuild -@if "%1"=="Reconfig" goto Reconfig +@if /I "%1"=="-h" goto Usage +@if /I "%1"=="-help" goto Usage +@if /I "%1"=="--help" goto Usage +@if /I "%1"=="/h" goto Usage +@if /I "%1"=="/?" goto Usage +@if /I "%1"=="/help" goto Usage +@if /I "%1"=="ForceRebuild" goto ForceBuild +@if /I "%1"=="Reconfig" goto Reconfig @IF NOT EXIST "Tools\Jars\Common.jar" goto NormalBuild @IF NOT EXIST "Tools\Jars\PcdTools.jar" goto NormalBuild @@ -132,7 +132,7 @@ echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WO @IF NOT EXIST "Tools\bin\antlr.exe" goto NormalBuild @IF NOT EXIST "Tools\bin\dlg.exe" goto NormalBuild -@if "%1"=="Rebuild" goto NormalBuild +@if /I "%1"=="Rebuild" goto NormalBuild @if NOT "%1"=="" goto Usage goto skipbuild -- 2.39.2