add quotes around updating of the PATH env. var. to avoid errors when existing path contains spaces.
Cc: M: Yonghong Zhu <[email protected]> M: Liming Gao <[email protected]> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thompson, James J <[email protected]> diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat index 59874c5..e90e28e 100755 --- a/BaseTools/toolsetup.bat +++ b/BaseTools/toolsetup.bat @@ -322,10 +322,10 @@ goto end echo !!! WARNING !!! Will not be able to compile Python programs to .exe echo Will setup environment to run Python scripts directly. echo. - set PATH=%BASETOOLS_PYTHON_SOURCE%\Trim;%PATH% - set PATH=%BASETOOLS_PYTHON_SOURCE%\GenFds;%PATH% - set PATH=%BASETOOLS_PYTHON_SOURCE%\build;%PATH% - set PATHEXT=%PATHEXT%;.py + set PATH="%BASETOOLS_PYTHON_SOURCE%\Trim;%PATH%" + set PATH="%BASETOOLS_PYTHON_SOURCE%\GenFds;%PATH%" + set PATH="%BASETOOLS_PYTHON_SOURCE%\build;%PATH%" + set PATHEXT=%PATHEXT%;.py ) ) _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

