From: Shi, Steven Date: Sat, 17 Apr 2021 12:21:33 +0000 (+0800) Subject: BaseTools: Add double quote around CLANG_BIN path string X-Git-Tag: edk2-stable202108~330 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d3b0d007a135284981fa750612a47234b83976f9;p=mirror_edk2.git 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 Cc: Bob Feng Cc: Liming Gao Reviewed-by: Liming Gao Reviewed-by: Bob Feng --- 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\ ) )