BaseTools: Add WindowsLike path in front of PATH Env

Original BaseTools source build append WindowsLike path to PATH Env,
while WINDDK installation has a "build.exe", if user place WINDDK
folder to PATH either during WINDDK installation or manually, it will
block the BaseTools' build.bat.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Yonghong Zhu 2018-02-22 10:30:41 +08:00
parent 75505d1611
commit ffcec664ca
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ goto end
echo !!! WARNING !!! PYTHON_FREEZER_PATH environment variable is not set.
echo Setup environment to run Python scripts directly.
echo.
set "PATH=%PATH%;%BASE_TOOLS_PATH%\BinWrappers\WindowsLike"
set "PATH=%BASE_TOOLS_PATH%\BinWrappers\WindowsLike;%PATH%"
)
set BASETOOLS_PYTHON_SOURCE=%BASE_TOOLS_PATH%\Source\Python