[Buildroot] [PATCH 03/13] scancpan: sort license files
Francois Perrad
fperrad at gmail.com
Wed Oct 10 06:46:11 UTC 2018
so, the output is reproductible
Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
utils/scancpan | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/scancpan b/utils/scancpan
index 20ab27caa..f7b707676 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -724,7 +724,7 @@ while (my ($distname, $dist) = each %dist) {
my $license = brlicense( ref $dist->{license} eq 'ARRAY'
? join q{ or }, @{$dist->{license}}
: $dist->{license} );
- my $license_files = join q{ }, keys %{$license_files{$distname}};
+ my $license_files = join q{ }, sort keys %{$license_files{$distname}};
if ($license_files && (!$license || $license eq q{unknown})) {
push @info, qq{[$distname] undefined LICENSE, see $license_files};
$license = q{???};
--
2.17.1
More information about the buildroot
mailing list