From: Michal Vaner Date: Mon, 8 Sep 2008 21:00:48 +0000 (+0200) Subject: Fix the export script X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=37e7d2e4a91cd601a5f7efa2d9d0afa08b5fd9c2;p=pciids.git Fix the export script --- diff --git a/scripts/pciids-export b/scripts/pciids-export index 8989a91..001e599 100755 --- a/scripts/pciids-export +++ b/scripts/pciids-export @@ -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.bz2 gzip -9c docs/pci.ids.gz fi