]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Add double quote around CLANG_BIN path string
authorShi, Steven <steven.shi@intel.com>
Sat, 17 Apr 2021 12:21:33 +0000 (20:21 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 20 Apr 2021 10:21:17 +0000 (10:21 +0000)
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>
edksetup.bat

index 7b9377aaa5c2f6eeac2934e3e86d2356ecb7224a..7ad137bb3e9b073ce16e7de7f4aa0f12df7924be 100755 (executable)
@@ -120,7 +120,7 @@ if not defined CLANG_BIN (
     @echo.\r
     @echo !!! WARNING !!! CLANG_BIN environment variable is not set\r
     @if exist "C:\Program Files\LLVM\bin\clang.exe" (\r
-        @set CLANG_BIN=C:\Program Files\LLVM\bin\\r
+        @set "CLANG_BIN=C:\Program Files\LLVM\bin\"\r
         @echo   Found LLVM, setting CLANG_BIN environment variable to C:\Program Files\LLVM\bin\\r
     )\r
 )\r