[cfe-commits] r65618 - /cfe/trunk/utils/scan-build
Ted Kremenek
kremenek at apple.com
Thu Feb 26 22:17:05 PST 2009
Author: kremenek
Date: Fri Feb 27 00:17:05 2009
New Revision: 65618
URL: http://llvm.org/viewvc/llvm-project?rev=65618&view=rev
Log:
Correctly check for ccc-analyzer in the same directory as scan-build.
Modified:
cfe/trunk/utils/scan-build
Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=65618&r1=65617&r2=65618&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Fri Feb 27 00:17:05 2009
@@ -1152,7 +1152,7 @@
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) {
More information about the cfe-commits
mailing list