summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShi, Steven <steven.shi@intel.com>2021-04-17 20:21:33 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-04-20 10:21:17 +0000
commitd3b0d007a135284981fa750612a47234b83976f9 (patch)
tree1eeb6378b250d68fe095eaf1a8436ba7d0fa26eb
parent0bbc20727598421c4e47d46b982246217df8c6bc (diff)
downloadedk2-d3b0d007a135284981fa750612a47234b83976f9.tar.gz
edk2-d3b0d007a135284981fa750612a47234b83976f9.tar.bz2
edk2-d3b0d007a135284981fa750612a47234b83976f9.zip
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-xedksetup.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/edksetup.bat b/edksetup.bat
index 7b9377aaa5..7ad137bb3e 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\
)
)