Changeset 3920
- Timestamp:
- 07/06/09 08:11:40 (5 months ago)
- Files:
-
- 1 modified
-
trunk/bin/copyrightCheck.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/copyrightCheck.pl
r3898 r3920 37 37 my $checkDate = 2009; # Only examine files in this year. 38 38 my $rootDir = $path; 39 my $copyright = "Copyright $checkDate"; # The message to look for.39 my $copyright = "Copyright "; # The message to look for. 40 40 my $maxlines = 10; # The message must appear within this many lines of the top of the file. 41 41 my $ignoreThese = 'ant|fortress-keywords|UserDictionary|README.txt|README$|\.fsg$|\.NW$|fortress.vim|\.ods|\.jar$|\.tic$|\.timing$|\.war$|\.zip$|\.tgz$|\/\.|^\.|^Sandbox'; … … 74 74 while (($line = <$fh> )|| ($cnt++<$maxlines)) { 75 75 print $line if ($debug); 76 if ( $line =~ m/$copyright/) {76 if (($line =~ m/$copyright/) && ($line =~ m/$checkDate/)) { 77 77 $missingCopyRight=0; 78 78 last;

