Quote invocation of clang in pipe to handle paths with spaces.

llvm-svn: 53775
This commit is contained in:
Ted Kremenek 2008-07-18 23:11:33 +00:00
parent f45f608e7d
commit 2a6b0b5d5e
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ if (! -x $ClangSB) {
my %AvailableAnalyses;
# Query clang for analysis options.
open(PIPE, "$Clang --help |") or
open(PIPE, "'$Clang's --help |") or
DieDiag("Cannot execute '$Clang'");
my $FoundAnalysis = 0;