]> mj.ucw.cz Git - pciids.git/commitdiff
Fix the export script
authorMichal Vaner <vorner@ucw.cz>
Mon, 8 Sep 2008 20:03:34 +0000 (22:03 +0200)
committerMichal Vaner <vorner@ucw.cz>
Mon, 8 Sep 2008 20:03:34 +0000 (22:03 +0200)
it needs to be run from the perl directory

scripts/pciids-export

index 0dd9e51983bbdf1dc7ebc74eaa0920581115932f..8989a911770870bbe9513e4afbe3b43cae47b006 100755 (executable)
 set -e
 
 cp perl/cf/head.ids pci.ids.new
-./perl/scripts/export.pl PC >> pci.ids.new
-cat perl/cf/class_head.ids >> pci.ids.new
-./perl/scripts/export.pl PD >> pci.ids.new
+cd perl
+./scripts/export.pl PC >> ../pci.ids.new
+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