summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-29 08:31:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-29 08:31:43 +0000
commit8bdfc6a22b4c90abf6dce4b1fc98fc0a7a1f1843 (patch)
tree789e35a3ca55c1044f221f24874044f630ed3881
parentfe0e906afb1cba1fbb1f8fd8ec3718d8eb83c911 (diff)
downloaddrakx-8bdfc6a22b4c90abf6dce4b1fc98fc0a7a1f1843.tar
drakx-8bdfc6a22b4c90abf6dce4b1fc98fc0a7a1f1843.tar.gz
drakx-8bdfc6a22b4c90abf6dce4b1fc98fc0a7a1f1843.tar.bz2
drakx-8bdfc6a22b4c90abf6dce4b1fc98fc0a7a1f1843.tar.xz
drakx-8bdfc6a22b4c90abf6dce4b1fc98fc0a7a1f1843.zip
the perl_checker compliant way
-rw-r--r--kernel/modules.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index a00bb0544..041808475 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -130,7 +130,7 @@ sub remove_unneeded_modules {
my @all = list_modules::all_modules();
my @all_with_deps = map { dependencies_closure($_) } @all;
- my %wanted_modules = map {; "$_.$ext" => 1 } @all_with_deps;
+ my %wanted_modules = map { ("$_.$ext" => 1) } @all_with_deps;
foreach (all("all.kernels/$kern_ver/modules")) {
$wanted_modules{$_} or unlink "all.kernels/$kern_ver/modules/$_";
}