Skip to content

Commit

Permalink
BaseTools: Add double quote around CLANG_BIN path string
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Bob Feng <[email protected]>
Cc: Liming Gao <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Bob Feng <[email protected]>
  • Loading branch information
shijunjing authored and mergify[bot] committed Apr 20, 2021
1 parent 0bbc207 commit d3b0d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edksetup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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\
)
)
Expand Down

0 comments on commit d3b0d00

Please sign in to comment.