[libconfig-model-dpkg-perl] 03/08: Scanner: sort output of licensecheck

dod at debian.org dod at debian.org
Sun Jan 18 20:14:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 1979d40fd22014c7620b58bbc64d3f687d7914cd
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Jan 17 21:08:30 2015 +0100

    Scanner: sort output of licensecheck
---
 lib/Dpkg/Copyright/Scanner.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index 257d1b8..e859e4f 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -60,7 +60,7 @@ sub scan_files {
     my $files = {};
     my $id = 0;
 
-    while(my $line = $pipe->getline) {
+    foreach my $line (sort @lines) {
         chomp $line;
         # say "found: $line";
         my ($f,$l,$c) = split /\t/, $line; 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list