+17 Feb 2004 Aron Griffis <agriffis@gentoo.org>
+ * Update copyrights on all ebuilds, not just the modified ones
+
07 Jan 2004 Aron Griffis <agriffis@gentoo.org>
* Updated Makefile to understand building man-page from pod
* Removed static man-page in favor of generated man-page from pod
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>) {
my ($etext, $netext);
open E, "<$e" or warn("Can't read $e to update copyright year\n"), next;
{ local $/ = undef; $etext = <E>; }
close E or warn("Can't write $e.new\n"), next;
# Move things around and show the diff
- system "diff -u $e $e.new";
+ system "diff -U 0 $e $e.new";
rename "$e.new", $e or warn("Can't rename $e.new: $!\n");
}