From: agriffis Date: Fri, 20 Feb 2004 17:12:18 +0000 (-0000) Subject: revert to previous behavior X-Git-Tag: gentoolkit-0.2.4.3~415 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bae7b3e9549d5c4fd55e93bc318d776908733ab7;p=gentoolkit.git revert to previous behavior svn path=/; revision=87 --- diff --git a/trunk/src/echangelog/ChangeLog b/trunk/src/echangelog/ChangeLog index 8639997..72f706d 100644 --- a/trunk/src/echangelog/ChangeLog +++ b/trunk/src/echangelog/ChangeLog @@ -1,3 +1,9 @@ +20 Feb 2004 Aron Griffis + * Only update copyrights on modified ebuilds, otherwise if you run + echangelog again, it reports that all the ebuilds have been updated! + The copyright year issue would be better solved on Jan 1 of each year by + a separate script. + 17 Feb 2004 Aron Griffis * Update copyrights on all ebuilds, not just the modified ones diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index ca36846..b8afe63 100644 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -184,10 +184,10 @@ print O $text or die "Can't write ChangeLog.new: $!\n"; close O or die "Can't close ChangeLog.new: $!\n"; # Update affected ebuild copyright dates -#for my $e (grep /\.ebuild$/, @files) { +for my $e (grep /\.ebuild$/, @files) { # Update all ebuild copyright dates -- according to Mr_Bones_ this is # the right thing to do -for my $e (<*.ebuild>) { +#for my $e (<*.ebuild>) { my ($etext, $netext); open E, "<$e" or warn("Can't read $e to update copyright year\n"), next; { local $/ = undef; $etext = ; }