From a3ed36afa987f739b7a0fc30d78a8a4a7989598b Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 18 Jul 2008 23:11:33 +0000 Subject: [PATCH] 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 --- utils/scan-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0