From 37e7d2e4a91cd601a5f7efa2d9d0afa08b5fd9c2 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Mon, 8 Sep 2008 23:00:48 +0200 Subject: [PATCH] Fix the export script --- scripts/pciids-export | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5