--- tools/clang/tools/scan-build/scan-build.orig 2014-07-17 08:40:35 UTC +++ tools/clang/tools/scan-build/scan-build @@ -437,7 +437,7 @@ sub CopyFiles { my $Dir = shift; - my $JS = Cwd::realpath("$RealBin/sorttable.js"); + my $JS = Cwd::realpath("/usr/local/share/clang35//sorttable.js"); DieDiag("Cannot find 'sorttable.js'.\n") if (! -r $JS); @@ -447,7 +447,7 @@ sub CopyFiles { DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n") if (! -r "$Dir/sorttable.js"); - my $CSS = Cwd::realpath("$RealBin/scanview.css"); + my $CSS = Cwd::realpath("/usr/local/share/clang35//scanview.css"); DieDiag("Cannot find 'scanview.css'.\n") if (! -r $CSS); @@ -882,7 +882,7 @@ ENDTEXT Diag("$Num bugs found.\n"); } if ($Num > 0 && -r "$Dir/index.html") { - Diag("Run 'scan-view $Dir' to examine bug reports.\n"); + Diag("Run 'scan-view35 $Dir' to examine bug reports.\n"); } DiagCrashes($Dir) if (scalar @failures || scalar @attributes_ignored);