summaryrefslogtreecommitdiffstats
path: root/dkms-modules-info/merge_dkms_info.pl
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-18 15:06:20 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-18 15:06:20 +0000
commitc54bd48a6a3f59966d3aada823ffb1f595455546 (patch)
treeb92ffb95e0afea08bc17724c18dc9e016dbd6bc8 /dkms-modules-info/merge_dkms_info.pl
parentdae471fa2aa1c417bf30f4c4fe136bea5673e691 (diff)
downloadldetect-lst-c54bd48a6a3f59966d3aada823ffb1f595455546.tar
ldetect-lst-c54bd48a6a3f59966d3aada823ffb1f595455546.tar.gz
ldetect-lst-c54bd48a6a3f59966d3aada823ffb1f595455546.tar.bz2
ldetect-lst-c54bd48a6a3f59966d3aada823ffb1f595455546.tar.xz
ldetect-lst-c54bd48a6a3f59966d3aada823ffb1f595455546.zip
kill duplicated entries
Diffstat (limited to 'dkms-modules-info/merge_dkms_info.pl')
-rwxr-xr-xdkms-modules-info/merge_dkms_info.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/dkms-modules-info/merge_dkms_info.pl b/dkms-modules-info/merge_dkms_info.pl
index c5f394c9..c794ace3 100755
--- a/dkms-modules-info/merge_dkms_info.pl
+++ b/dkms-modules-info/merge_dkms_info.pl
@@ -18,9 +18,12 @@ my %filters = (
);
foreach my $kver (grep { $_ ne ".svn" && -d $_ } all(".")) {
+ warn "--> $kver\n" if $kver =~ /19/;
foreach my $file (all($kver)) {
+ warn ">> $file\n" if my $debug = $kver =~ /19/ && $file =~ /adm8211/;
my ($module, $type) = $file =~ /^(.+)\.(.+?)$/ or next;
push @{$fields{$type}{$module}}, chomp_(cat_($kver . '/' . $file));
+ print ">> ", $fields{$type}{$module}[-1], "\n" if $debug;
}
}