diff options
Diffstat (limited to 'tools/scan-build/c++-analyzer')
-rwxr-xr-x[l---------] | tools/scan-build/c++-analyzer | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/scan-build/c++-analyzer b/tools/scan-build/c++-analyzer index ca10bf547d..dda5db9c7d 120000..100755 --- a/tools/scan-build/c++-analyzer +++ b/tools/scan-build/c++-analyzer @@ -1 +1,8 @@ -ccc-analyzer
\ No newline at end of file +#!/usr/bin/env perl + +use Cwd qw/ abs_path /; +use File::Basename qw/ dirname /; +# Add scan-build dir to the list of places where perl looks for modules. +use lib dirname(abs_path($0)); + +do 'ccc-analyzer'; |