]> git.pld-linux.org Git - projects/distfiles.git/commitdiff
patchset: include end item as well
authorElan Ruusamäe <glen@delfi.ee>
Sat, 1 Dec 2012 21:43:09 +0000 (23:43 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 1 Dec 2012 21:43:09 +0000 (23:43 +0200)
specparser.pl

index 07d46115610bcb282f7f38bae1c112edf162ba2f..8302643096ea814330090e83f0e1f78dfde8fc9b 100755 (executable)
@@ -154,7 +154,7 @@ sub process_patchset($) {
     # print out patchset entries which source md5 is present in source file
     my $start = expand($patchset{start}, $macros);
     my $end = expand($patchset{end}, $macros);
-    for (my $i = $start; $i < $end; $i++) {
+    for (my $i = $start; $i <= $end; $i++) {
         my $url = sprintf($patchset{pattern}, $i);
         my ($basename) = $url =~ m{/([^/]+$)};
         my $hash = $files{$basename} or next;
This page took 0.100653 seconds and 4 git commands to generate.