diff options
| author | mr_bones_ <mr_bones_@gentoo.org> | 2004-03-28 03:18:15 +0000 |
|---|---|---|
| committer | mr_bones_ <mr_bones_@gentoo.org> | 2004-03-28 03:18:15 +0000 |
| commit | 6a987bf52b393fdf8d5e6335dd7b7f9b57cacb79 (patch) | |
| tree | 3a9afdc8febfe1e488a26776e8ec9b2c37933dc7 /trunk | |
| parent | 6805791a69db332682a13b9fe28de492680edc76 (diff) | |
| download | gentoolkit-6a987bf52b393fdf8d5e6335dd7b7f9b57cacb79.tar.gz | |
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
Diffstat (limited to 'trunk')
| -rw-r--r-- | trunk/src/echangelog/ChangeLog | 4 | ||||
| -rw-r--r-- | trunk/src/echangelog/echangelog | 2 |
2 files changed, 5 insertions, 1 deletions
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 <mr_bones_@gentoo.org> + * 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 <agriffis@gentoo.org> * 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; |
