SVN: toys/rsget.pl/RSGet/FileList.pm

sparky sparky at pld-linux.org
Wed Sep 16 00:20:50 CEST 2009


Author: sparky
Date: Wed Sep 16 00:20:49 2009
New Revision: 10608

Modified:
   toys/rsget.pl/RSGet/FileList.pm
Log:
- fix __END__


Modified: toys/rsget.pl/RSGet/FileList.pm
==============================================================================
--- toys/rsget.pl/RSGet/FileList.pm	(original)
+++ toys/rsget.pl/RSGet/FileList.pm	Wed Sep 16 00:20:49 2009
@@ -75,7 +75,6 @@
 	push @list, @added;
 
 	my @new;
-	my @end;
 
 	my @used_save;
 	my %all_uri;
@@ -83,9 +82,9 @@
 	while ( my $line = shift @list ) {
 		chomp $line;
 		if ( $line =~ /^__END__\s*$/ ) { # end of the list
-			push @end, $line . "\n";
+			push @new, $line . "\n";
 			push @actual, $line;
-			push @end, @list;
+			push @new, @list;
 			push @actual, @list;
 			last;
 		}


More information about the pld-cvs-commit mailing list