From bae7b3e9549d5c4fd55e93bc318d776908733ab7 Mon Sep 17 00:00:00 2001 From: agriffis Date: Fri, 20 Feb 2004 17:12:18 +0000 Subject: revert to previous behavior svn path=/; revision=87 --- trunk/src/echangelog/ChangeLog | 6 ++++++ trunk/src/echangelog/echangelog | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'trunk/src') 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 = ; } -- cgit v1.2.3