From: wuyizhong Date: Tue, 12 Dec 2006 05:35:03 +0000 (+0000) Subject: make edksetup.bat accept case-insensitive parameters. X-Git-Tag: edk2-stable201903~23793 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d02920ead2934c94ad3603bdce18d699af027a9f;ds=sidebyside 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 --- 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