diff options
| author | agriffis <agriffis@gentoo.org> | 2004-02-20 17:12:18 +0000 |
|---|---|---|
| committer | agriffis <agriffis@gentoo.org> | 2004-02-20 17:12:18 +0000 |
| commit | bae7b3e9549d5c4fd55e93bc318d776908733ab7 (patch) | |
| tree | c68e9ecd56a34f053114a28507887cbb6492d131 /trunk/src | |
| parent | 7a928bf34c19ac1589db123d6e407bf35f660358 (diff) | |
| download | gentoolkit-bae7b3e9549d5c4fd55e93bc318d776908733ab7.tar.gz | |
revert to previous behavior
svn path=/; revision=87
Diffstat (limited to 'trunk/src')
| -rw-r--r-- | trunk/src/echangelog/ChangeLog | 6 | ||||
| -rw-r--r-- | trunk/src/echangelog/echangelog | 4 |
2 files changed, 8 insertions, 2 deletions
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 <agriffis@gentoo.org> + * 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 <agriffis@gentoo.org> * 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 = <E>; } |
