diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-06 21:35:05 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-06 21:35:05 +0000 |
commit | b5c67c303ce0b7b3640272d429b31b24574d58fb (patch) | |
tree | 84ad8b46d90d85c032cd0a185784f01d38d85977 /mdk-stage1/pci-resource/update-pci-ids.pl | |
parent | f7bb16a5414b35dacf48343fdb3fca0896b157e6 (diff) | |
download | drakx-b5c67c303ce0b7b3640272d429b31b24574d58fb.tar drakx-b5c67c303ce0b7b3640272d429b31b24574d58fb.tar.gz drakx-b5c67c303ce0b7b3640272d429b31b24574d58fb.tar.bz2 drakx-b5c67c303ce0b7b3640272d429b31b24574d58fb.tar.xz drakx-b5c67c303ce0b7b3640272d429b31b24574d58fb.zip |
support both 2.2 and 2.4
Diffstat (limited to 'mdk-stage1/pci-resource/update-pci-ids.pl')
-rwxr-xr-x | mdk-stage1/pci-resource/update-pci-ids.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/pci-resource/update-pci-ids.pl b/mdk-stage1/pci-resource/update-pci-ids.pl index 732131421..5227295d7 100755 --- a/mdk-stage1/pci-resource/update-pci-ids.pl +++ b/mdk-stage1/pci-resource/update-pci-ids.pl @@ -34,7 +34,7 @@ foreach $type (keys %t) { struct pci_module_map ${type}_pci_ids[] = { "; my %l; - foreach (glob("../../kernel*/lib/modules/*/kernel/drivers/$t{$type}/*.o")) { + foreach (glob("../../kernel/lib/modules/*/$t{$type}/*.o"), glob("../../kernel/lib/modules/*/kernel/drivers/$t{$type}/*.o")) { m|([^/]*)\.o$|; $l{$1} = 1; } |