diff options
author | Shi, Steven <steven.shi@intel.com> | 2021-04-17 20:21:33 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-04-20 10:21:17 +0000 |
commit | d3b0d007a135284981fa750612a47234b83976f9 (patch) | |
tree | 1eeb6378b250d68fe095eaf1a8436ba7d0fa26eb | |
parent | 0bbc20727598421c4e47d46b982246217df8c6bc (diff) | |
download | edk2-d3b0d007a135284981fa750612a47234b83976f9.zip edk2-d3b0d007a135284981fa750612a47234b83976f9.tar.gz edk2-d3b0d007a135284981fa750612a47234b83976f9.tar.bz2 |
BaseTools: Add double quote around CLANG_BIN path string
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3341
Current CLANG_BIN env variable is set without double quote
around the LLVM default installation path string in windows,
which causes some CI build service cannot find the LLVM path
in windows.
This patch enhance it to add double quote around it.
Signed-off-by: Steven Shi <steven.shi@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
-rwxr-xr-x | edksetup.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edksetup.bat b/edksetup.bat index 7b9377a..7ad137b 100755 --- a/edksetup.bat +++ b/edksetup.bat @@ -120,7 +120,7 @@ if not defined CLANG_BIN ( @echo.
@echo !!! WARNING !!! CLANG_BIN environment variable is not set
@if exist "C:\Program Files\LLVM\bin\clang.exe" (
- @set CLANG_BIN=C:\Program Files\LLVM\bin\
+ @set "CLANG_BIN=C:\Program Files\LLVM\bin\"
@echo Found LLVM, setting CLANG_BIN environment variable to C:\Program Files\LLVM\bin\
)
)
|