From: Ted Kremenek Date: Fri, 27 Feb 2009 06:17:05 +0000 (+0000) Subject: Correctly check for ccc-analyzer in the same directory as scan-build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b89636db873142f562cf576df9bc195c5b8674b;p=clang Correctly check for ccc-analyzer in the same directory as scan-build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65618 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/scan-build b/utils/scan-build index ec5f830274..9e977e838b 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -1152,7 +1152,7 @@ SetHtmlEnv(\@ARGV, $HtmlDir); my $Cmd = Cwd::realpath("$RealBin/bin/ccc-analyzer"); if (!defined $Cmd || ! -x $Cmd) { $Cmd = Cwd::realpath("$RealBin/ccc-analyzer"); - DieDiag("Executable 'ccc-analyzer' does not exist at '$Cmd'\n"); + DieDiag("Executable 'ccc-analyzer' does not exist at '$Cmd'\n") if(! -x $Cmd); } if (!defined $ClangSB || ! -x $ClangSB) {