]> git.proxmox.com Git - mirror_edk2.git/commitdiff
make edksetup.bat accept case-insensitive parameters.
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Dec 2006 05:35:03 +0000 (05:35 +0000)
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Dec 2006 05:35:03 +0000 (05:35 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2084 6f19259b-4bc3-4df7-8a09-765794883524

edksetup.bat

index da7c7e5ff0c799db7ad1f3d83fd8161fa5d7df5c..74f4117b1a936e65cbbf763f77468a8b5f34454a 100644 (file)
@@ -84,14 +84,14 @@ echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WO
 \r
 :path_ok\r
 \r
 \r
 :path_ok\r
 \r
-@if "%1"=="-h" goto Usage\r
-@if "%1"=="-help" goto Usage\r
-@if "%1"=="--help" goto Usage\r
-@if "%1"=="/h" goto Usage\r
-@if "%1"=="/?" goto Usage\r
-@if "%1"=="/help" goto Usage\r
-@if "%1"=="ForceRebuild" goto ForceBuild\r
-@if "%1"=="Reconfig" goto Reconfig\r
+@if /I "%1"=="-h" goto Usage\r
+@if /I "%1"=="-help" goto Usage\r
+@if /I "%1"=="--help" goto Usage\r
+@if /I "%1"=="/h" goto Usage\r
+@if /I "%1"=="/?" goto Usage\r
+@if /I "%1"=="/help" goto Usage\r
+@if /I "%1"=="ForceRebuild" goto ForceBuild\r
+@if /I "%1"=="Reconfig" goto Reconfig\r
 \r
 @IF NOT EXIST "Tools\Jars\Common.jar" goto NormalBuild\r
 @IF NOT EXIST "Tools\Jars\PcdTools.jar" goto NormalBuild\r
 \r
 @IF NOT EXIST "Tools\Jars\Common.jar" goto NormalBuild\r
 @IF NOT EXIST "Tools\Jars\PcdTools.jar" goto NormalBuild\r
@@ -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\r
 @IF NOT EXIST "Tools\bin\dlg.exe" goto NormalBuild\r
 \r
 @IF NOT EXIST "Tools\bin\antlr.exe" goto NormalBuild\r
 @IF NOT EXIST "Tools\bin\dlg.exe" goto NormalBuild\r
 \r
-@if "%1"=="Rebuild" goto NormalBuild\r
+@if /I "%1"=="Rebuild" goto NormalBuild\r
 @if NOT "%1"=="" goto Usage\r
 \r
 goto skipbuild\r
 @if NOT "%1"=="" goto Usage\r
 \r
 goto skipbuild\r