summaryrefslogtreecommitdiffstats
path: root/utils/trimpciids
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-11-15 20:12:04 +0000
committerBill Nottingham <notting@redhat.com>2005-11-15 20:12:04 +0000
commit669537abb197cc68001a2895899b6b4fee09f740 (patch)
treebdfca1bf0fb58859149b81511a2602730de59201 /utils/trimpciids
parentd2d66577fbe3dd34efa0ddcec9640ebf41a9d49d (diff)
downloadanaconda-669537abb197cc68001a2895899b6b4fee09f740.tar.gz
anaconda-669537abb197cc68001a2895899b6b4fee09f740.tar.xz
anaconda-669537abb197cc68001a2895899b6b4fee09f740.zip
2005-11-15 Bill Nottingham <notting@redhat.com>
* scripts/upd-instroot, scripts/mk-images, utils/trimpciids: Work with multiple videoaliases files.
Diffstat (limited to 'utils/trimpciids')
-rwxr-xr-xutils/trimpciids5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/trimpciids b/utils/trimpciids
index 2d177acc7..a1900e3ca 100755
--- a/utils/trimpciids
+++ b/utils/trimpciids
@@ -21,8 +21,9 @@ if f:
if (vend, dev) not in devices:
devices.append( (vend, dev) )
-f = open(sys.argv[2])
-if f:
+for file in sys.argv[2:]
+ f = open(file)
+ if f:
pcitable = f.readlines()
f.close()
for line in pcitable: