summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-25 12:25:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-25 12:25:00 +0000
commitb0f787b35bcf3d9a909ab280e6507b35d153b95f (patch)
tree3f5813f75e420b333ae85371fe56657242e28a3c
parentb579b95c6def1b88b78ad6e9c731ebe071a95ea1 (diff)
downloaddrakx-b0f787b35bcf3d9a909ab280e6507b35d153b95f.tar
drakx-b0f787b35bcf3d9a909ab280e6507b35d153b95f.tar.gz
drakx-b0f787b35bcf3d9a909ab280e6507b35d153b95f.tar.bz2
drakx-b0f787b35bcf3d9a909ab280e6507b35d153b95f.tar.xz
drakx-b0f787b35bcf3d9a909ab280e6507b35d153b95f.zip
ensure errors propagate
-rw-r--r--mdk-stage1/Makefile2
-rw-r--r--mdk-stage1/pci-resource/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 8eeb8c80c..d1fb55ac8 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -170,7 +170,7 @@ all: dirs $(BINS)
dirs:
@for n in . $(DIRS); do \
- [ "$$n" = "." ] || make -C $$n ;\
+ [ "$$n" = "." ] || make -C $$n || exit 1 ;\
done
init: $(INITOBJS) $(INIT_LIBC)
diff --git a/mdk-stage1/pci-resource/Makefile b/mdk-stage1/pci-resource/Makefile
index 8627ab03c..4e1e8e3dc 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 > $@ || rm -f $@
+ perl update-pci-ids.pl > $@ || rm -f $@ && exit 1
clean:
rm -f pci-ids.h