]> mj.ucw.cz Git - pciids.git/commitdiff
Fix the export script
authorMichal Vaner <vorner@ucw.cz>
Mon, 8 Sep 2008 21:00:48 +0000 (23:00 +0200)
committerMichal Vaner <vorner@ucw.cz>
Mon, 8 Sep 2008 21:00:48 +0000 (23:00 +0200)
scripts/pciids-export

index 8989a911770870bbe9513e4afbe3b43cae47b006..001e599f7b7c09dd6c03a91348662b6ec2972734 100755 (executable)
@@ -26,9 +26,9 @@ cd perl
 cat cf/class_head.ids >> ../pci.ids.new
 ./scripts/export.pl PD >> ../pci.ids.new
 cd ..
-if ! [ -f docs/pci.ids ] || ! cmp static/pci.ids pci.ids.new >/dev/null ; then
-       ln pci.ids.new ~/origs/00-current
-       ln pci.ids.new docs/pci.ids
+if ! [ -f docs/pci.ids ] || ! cmp docs/pci.ids pci.ids.new >/dev/null ; then
+       ln -f pci.ids.new ~/origs/00-current
+       ln -f pci.ids.new docs/pci.ids
        bzip2 -9c <docs/pci.ids >docs/pci.ids.bz2
        gzip -9c <docs/pci.ids >docs/pci.ids.gz
 fi