From: Ted Kremenek Date: Fri, 18 Jul 2008 23:11:33 +0000 (+0000) Subject: Quote invocation of clang in pipe to handle paths with spaces. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3ed36afa987f739b7a0fc30d78a8a4a7989598b;p=clang Quote invocation of clang in pipe to handle paths with spaces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53775 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/scan-build b/utils/scan-build index a58751caf7..3c434a4d86 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -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;