summaryrefslogtreecommitdiffstats
path: root/convert/uniquify-modalias.pl
diff options
context:
space:
mode:
Diffstat (limited to 'convert/uniquify-modalias.pl')
-rwxr-xr-xconvert/uniquify-modalias.pl5
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;