Fixed the PATH again.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lhauch <larry.hauch@intel.com>
Reviewed-by: 


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15881 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch 2014-08-22 15:56:54 +00:00 committed by lhauch
parent bd4fa6f53c
commit cd92f93847

View File

@ -374,17 +374,17 @@
@REM Set up Visual Studio if required to build the Nt32Pkg/Nt32Pkg.dsc emulator @REM Set up Visual Studio if required to build the Nt32Pkg/Nt32Pkg.dsc emulator
@if "%NT32PKG%"=="TRUE" ( @if "%NT32PKG%"=="TRUE" (
@if not defined VSINSTALLDIR @set PATH=%ORIGINAL_PATH% @if not defined VSINSTALLDIR @set "PATH=%ORIGINAL_PATH%"
@if not defined NT32_X64 @call "%WORKSPACE%\BaseTools\get_vsvars.bat" @if not defined NT32_X64 @call "%WORKSPACE%\BaseTools\get_vsvars.bat"
@if defined NT32_X64 call "%WORKSPACE%\BaseTools\Scripts\SetVisualStudio.bat" @if defined NT32_X64 call "%WORKSPACE%\BaseTools\Scripts\SetVisualStudio.bat"
@set NT32_X64= @set NT32_X64=
) )
@if "%NT32PKG%"=="TRUE" ( @if "%NT32PKG%"=="TRUE" (
@if not defined VS_PATH set VS_PATH=%PATH% @if not defined VS_PATH set "VS_PATH=%PATH%"
) )
@if defined VS_PATH @set "PATH=%VS_PATH%" @if defined VS_PATH @set "PATH=%VS_PATH%"
@if not defined VS_PATH @set "PATH=%ORIGINAL_PATH%" @if not defined VS_PATH @set "PATH=%ORIGINAL_PATH%"
@set "PATH=%EDK_TOOLS_PATH%\Bin\Win32";%PATH% @set "PATH=%EDK_TOOLS_PATH%\Bin\Win32;%PATH%"
@if "%REBUILD_TOOLS%"=="TRUE" @goto Rebuild @if "%REBUILD_TOOLS%"=="TRUE" @goto Rebuild
@if "%SVN_PULL%"== "TRUE" ( @if "%SVN_PULL%"== "TRUE" (