summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-12 05:35:03 +0000
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-12 05:35:03 +0000
commitd02920ead2934c94ad3603bdce18d699af027a9f (patch)
treeee241559b28ce4e123e86d5240ca4c66469fb9c3
parent513b53b1396b7dd668d1499eaa6032a5c6309096 (diff)
downloadedk2-platforms-d02920ead2934c94ad3603bdce18d699af027a9f.tar.xz
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
-rw-r--r--edksetup.bat18
1 files 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