aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {