diff options
author | Jeff Ames | 2008-02-25 11:53:21 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-25 11:53:21 +0000 |
commit | cda8b013ec524e083189d906ebaa536c4ee90eff (patch) | |
tree | 3490be988abb649810eabad4b29ab27091170b50 /OpenSim/Tools/classaudit.pl | |
parent | I'm the stupidest stupid in the whole world. :) (diff) | |
download | opensim-SC-cda8b013ec524e083189d906ebaa536c4ee90eff.zip opensim-SC-cda8b013ec524e083189d906ebaa536c4ee90eff.tar.gz opensim-SC-cda8b013ec524e083189d906ebaa536c4ee90eff.tar.bz2 opensim-SC-cda8b013ec524e083189d906ebaa536c4ee90eff.tar.xz |
Updated paths in classaudit script.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Tools/classaudit.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Tools/classaudit.pl b/OpenSim/Tools/classaudit.pl index 9c92720..d5d28c7 100755 --- a/OpenSim/Tools/classaudit.pl +++ b/OpenSim/Tools/classaudit.pl | |||
@@ -37,14 +37,14 @@ use constant CLEAR => "\033[0m"; | |||
37 | our %totals; | 37 | our %totals; |
38 | 38 | ||
39 | 39 | ||
40 | find(\&test, "../OpenSim"); | 40 | find(\&test, "../../OpenSim"); |
41 | print Dumper(\%totals); | 41 | print Dumper(\%totals); |
42 | 42 | ||
43 | sub test { | 43 | sub test { |
44 | my $file = $File::Find::name; | 44 | my $file = $File::Find::name; |
45 | my $dir = $File::Find::dir; | 45 | my $dir = $File::Find::dir; |
46 | $file =~ s{^../}{}; #strip off prefix | 46 | $file =~ s{^../../}{}; #strip off prefix |
47 | $dir =~ s{^../}{}; #strip off prefix | 47 | $dir =~ s{^../../}{}; #strip off prefix |
48 | 48 | ||
49 | return if ($file !~ /\.cs$/); | 49 | return if ($file !~ /\.cs$/); |
50 | return if ($file =~ /AssemblyInfo\.cs$/); | 50 | return if ($file =~ /AssemblyInfo\.cs$/); |