aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-27 06:17:05 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-27 06:17:05 +0000
commit6b89636db873142f562cf576df9bc195c5b8674b (patch)
tree532b7fafcdda70778107dd9c0e7f0f1a9ae5bb89
parentfd6f08525f9292255249b2434af4c6b2bc02ee93 (diff)
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
-rwxr-xr-xutils/scan-build2
1 files changed, 1 insertions, 1 deletions
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) {