summaryrefslogtreecommitdiffstats
path: root/kernel/list_modules.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-17 09:47:34 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-17 09:47:34 +0000
commitfac2ae48d93c5bf4f93025ecb71eb21a62b540d1 (patch)
treebe7670a839ad884ffd89303aa2d624443f4476d3 /kernel/list_modules.pm
parent7bb00d3418f113c126a6826441ee81ee5b882bde (diff)
downloaddrakx-fac2ae48d93c5bf4f93025ecb71eb21a62b540d1.tar
drakx-fac2ae48d93c5bf4f93025ecb71eb21a62b540d1.tar.gz
drakx-fac2ae48d93c5bf4f93025ecb71eb21a62b540d1.tar.bz2
drakx-fac2ae48d93c5bf4f93025ecb71eb21a62b540d1.tar.xz
drakx-fac2ae48d93c5bf4f93025ecb71eb21a62b540d1.zip
(category2modules) allow 'category/*', to use all sub categories
Diffstat (limited to 'kernel/list_modules.pm')
-rw-r--r--kernel/list_modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 6da5a48b6..15ae5c6bf 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -210,7 +210,7 @@ sub category2modules {
map {
my $l = $l{$t1}{$_} or die "bad category $t1/$_\n" . backtrace();
@$l;
- } split('\|', $t2s);
+ } $t2s eq '*' ? keys %{$l{$t1}} : split('\|', $t2s);
} split(' ', $_[0]);
}