X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=edksetup.bat;h=74f4117b1a936e65cbbf763f77468a8b5f34454a;hp=8dc4a94f2651fa34b831c10cb2b0845a8a2173de;hb=af9e69ff1971ebe4216888ee31498dd1ba7d9b6f;hpb=d2f9b39f43b4bc4890a77f44c72cc6ffc1ee48a0 diff --git a/edksetup.bat b/edksetup.bat index 8dc4a94f26..74f4117b1a 100644 --- a/edksetup.bat +++ b/edksetup.bat @@ -67,7 +67,7 @@ set WORKSPACE=%CD% set FRAMEWORK_TOOLS_PATH=%WORKSPACE%\Tools\bin -if not defined ORIGINAL_CLASSPATH set ORIGINAL_CLASSPATH= %CLASSPATH% +if not defined ORIGINAL_CLASSPATH set ORIGINAL_CLASSPATH=%CLASSPATH% set CLASSPATH=%ORIGINAL_CLASSPATH% if defined WORKSPACE_TOOLS_PATH goto check_path @@ -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