echangelog: don't warn about missing ebuilds when updating copyrights #120061
authoragriffis <agriffis@gentoo.org>
Sun, 26 Mar 2006 19:21:54 +0000 (19:21 -0000)
committeragriffis <agriffis@gentoo.org>
Sun, 26 Mar 2006 19:21:54 +0000 (19:21 -0000)
svn path=/; revision=291

trunk/ChangeLog
trunk/src/echangelog/ChangeLog
trunk/src/echangelog/echangelog

index 34329faca53e98f833dab2c5fa779ca8611e775c..7ad16e75a8e63b7523fd2d8db6074389d97e8363 100644 (file)
@@ -1,3 +1,7 @@
+2006-05-26 Aron Griffis <agriffis@gentoo.org>
+       * echangelog: Don't warn about missing ebuilds when updating 
+         copyrights #120061
+
 2006-05-25 Aron Griffis <agriffis@gentoo.org>
        * eviewcvs: Update for sources.gentoo.org, add subversion support
 
index ffafb66ae51ad95df096d69dc045cb712b8b452a..c1c5885cfd928881b0abc907f594e053b6ffa315 100644 (file)
@@ -1,3 +1,7 @@
+26 Mar 2006 Aron Griffis <agriffis@gentoo.org>
+       * echangelog: Don't warn about missing ebuilds when updating 
+         copyrights #120061
+
 27 Apr 2005 Aron Griffis <agriffis@gentoo.org>
        * more changes for #90326; report all trivial files if no significant
          changes can be found
index 03b5f2506e82e9e0c5ff86a9c79d687335c9a73c..1867ef68e1dc960bae5e7b92104781400d897bf9 100644 (file)
@@ -334,7 +334,7 @@ close O                  or die "Can't close ChangeLog.new: $!\n";
 # Update affected ebuild copyright dates.  There is no reason to update the
 # copyright lines on ebuilds that haven't changed.  I verified this with an IP
 # lawyer.
-for my $e (grep /\.ebuild$/, @files) {
+for my $e (grep { /\.ebuild$/ && -e } @files) {
     my ($etext, $netext);
     open E, "<$e" or warn("Can't read $e to update copyright year\n"), next;
     { local $/ = undef; $etext = <E>; }