From 6a987bf52b393fdf8d5e6335dd7b7f9b57cacb79 Mon Sep 17 00:00:00 2001 From: mr_bones_ Date: Sun, 28 Mar 2004 03:18:15 +0000 Subject: [PATCH] don't fall out of the loop if update_copyright() didn't change anything. Just go on to the next file. svn path=/; revision=95 --- trunk/src/echangelog/ChangeLog | 4 ++++ trunk/src/echangelog/echangelog | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/trunk/src/echangelog/ChangeLog b/trunk/src/echangelog/ChangeLog index e68bcf8..9e3b0d0 100644 --- a/trunk/src/echangelog/ChangeLog +++ b/trunk/src/echangelog/ChangeLog @@ -1,3 +1,7 @@ +27 Mar 2004 Michael Sterrett + * don't fall out of the loop if update_copyright() didn't change + anything. Just go on to the next file. + 21 Mar 2004 Aron Griffis * Fix typo $0 -> 0 diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index ace1440..6b6428d 100644 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -221,7 +221,7 @@ for my $e (grep /\.ebuild$/, readdir D) { # Attempt the substitution and compare $netext = update_copyright($etext); - last if $netext eq $etext; + next if $netext eq $etext; # skip this file if no change. # Write the new ebuild open E, ">$e.new" or warn("Can't open $e.new\n"), next; -- 2.26.2