diff options
-rwxr-xr-x | convert/uniquify-modalias.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/convert/uniquify-modalias.pl b/convert/uniquify-modalias.pl index c964f9a6..830a37d3 100755 --- a/convert/uniquify-modalias.pl +++ b/convert/uniquify-modalias.pl @@ -94,8 +94,9 @@ sub print_module { @modules or return; my @category_deferred_modules = map { - @{$category_deferred_modules{$_} || []}; - } map { list_modules::module2category($_->[1]) } @modules; + my $l = list_modules::module2category($_->[1]); + @{$category_deferred_modules{$l} || []}; + } @modules; @modules > 1 || @category_deferred_modules or return; |