summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-02 15:56:33 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-02 15:56:33 +0000
commite441f417bbd3c9f223668bfb0720cda739860811 (patch)
tree71a0012048996907f1b40d0ceff79ac618f06b8d /mdk-stage1
parent4f67c1b8bfe64dd974b067975fa416c18800539a (diff)
downloaddrakx-e441f417bbd3c9f223668bfb0720cda739860811.tar
drakx-e441f417bbd3c9f223668bfb0720cda739860811.tar.gz
drakx-e441f417bbd3c9f223668bfb0720cda739860811.tar.bz2
drakx-e441f417bbd3c9f223668bfb0720cda739860811.tar.xz
drakx-e441f417bbd3c9f223668bfb0720cda739860811.zip
remove file if perl script execution failed
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/pci-resource/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/pci-resource/Makefile b/mdk-stage1/pci-resource/Makefile
index 56824595a..8627ab03c 100644
--- a/mdk-stage1/pci-resource/Makefile
+++ b/mdk-stage1/pci-resource/Makefile
@@ -19,7 +19,7 @@
all: pci-ids.h
pci-ids.h: /usr/share/ldetect-lst/pcitable update-pci-ids.pl
- perl update-pci-ids.pl > $@
+ perl update-pci-ids.pl > $@ || rm -f $@
clean:
rm -f pci-ids.h