Changeset 3920

Show
Ignore:
Timestamp:
07/06/09 08:11:40 (5 months ago)
Author:
sukyoungryu
Message:

[copyright] Fixed the copyright checker to handle Kento's code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/bin/copyrightCheck.pl

    r3898 r3920  
    3737my $checkDate = 2009;    # Only examine files in this year. 
    3838my $rootDir = $path; 
    39 my $copyright = "Copyright $checkDate "; # The message to look for. 
     39my $copyright = "Copyright "; # The message to look for. 
    4040my $maxlines = 10;       # The message must appear within this many lines of the top of the file. 
    4141my $ignoreThese = 'ant|fortress-keywords|UserDictionary|README.txt|README$|\.fsg$|\.NW$|fortress.vim|\.ods|\.jar$|\.tic$|\.timing$|\.war$|\.zip$|\.tgz$|\/\.|^\.|^Sandbox'; 
     
    7474     while (($line = <$fh> )|| ($cnt++<$maxlines)) { 
    7575       print $line if ($debug); 
    76        if ($line =~ m/$copyright/) { 
     76       if (($line =~ m/$copyright/) && ($line =~ m/$checkDate/)) { 
    7777          $missingCopyRight=0; 
    7878          last;