diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-18 15:06:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-18 15:06:20 +0000 |
commit | c54bd48a6a3f59966d3aada823ffb1f595455546 (patch) | |
tree | b92ffb95e0afea08bc17724c18dc9e016dbd6bc8 /dkms-modules-info/merge_dkms_info.pl | |
parent | dae471fa2aa1c417bf30f4c4fe136bea5673e691 (diff) | |
download | ldetect-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-x | dkms-modules-info/merge_dkms_info.pl | 3 |
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; } } |