ICU-6938 update links to moved copyright-scan page

X-SVN-Rev: 26009
This commit is contained in:
Markus Scherer 2009-05-14 21:48:35 +00:00
parent 8a31302a44
commit af9fb2fc51
2 changed files with 4 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# ***********************************************************************
# * COPYRIGHT:
# * Copyright (c) 2002-2007, International Business Machines Corporation
# * Copyright (c) 2002-2009, International Business Machines Corporation
# * and others. All Rights Reserved.
# ***********************************************************************
#
@ -18,7 +18,7 @@ my $ignore = "CVS|\\.svn|\\~|\\#|Debug|Release|\\.dll|\\.ilk|\\.idb|\\.pdb|\\.ds
my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
$year += 1900;
if ( ! -f "cpyskip.txt" ) {
die "Can't open cpyskip.txt, please download from http://source.icu-project.org/cpyskip.txt (see http://icu-project.org/copyright-scan.html for more details)"
die "Can't open cpyskip.txt, please download from http://source.icu-project.org/cpyskip.txt (see http://site.icu-project.org/processes/copyright-scan for more details)"
}
my $command = "find $icuSource -type f -mtime -$yday | fgrep -v -f cpyskip.txt";
my @files = `$command`;

View File

@ -1,5 +1,4 @@
Copyright (c) 2002-2007, International Business Machines Corporation and others. All Rights Reserved.
Copyright (c) 2002-2009, International Business Machines Corporation and others. All Rights Reserved.
cpysearch.pl is a perl script used to detect the files that might not have the copyright notice. Best when used on windows on a clean checkout. Edit $icuSource to your path. If you are working on other platform, you probably want to edit $ignore to reflect different temporary files that you don't want in the scan. The result will be the list of files that don't have word copyright (case ignored) in first 10 lines. Look at them and fix if needed.
@ -12,12 +11,8 @@ cpyskip.txt is part of the ignore list. Download the latest from
http://source.icu-project.org/cpyskip.txt
more docs on copyright scan at:
http://icu-project.org/copyright-scan.html
http://site.icu-project.org/processes/copyright-scan
Have fun!
weiv