Commit bc03cde1 authored by Michael Shigorin's avatar Michael Shigorin

pkg.in: bail out if anything goes wrong

Failing to kaboom just in time can make (and has just made) it harder to figure out the culprit down the road; e.g. metadata target's tar(1) might fail to find *some* files that haven't been copied over due to a single one missing by that run.
parent 9d449ed1
...@@ -8,5 +8,5 @@ endif ...@@ -8,5 +8,5 @@ endif
# sequential execution, no reason to haste # sequential execution, no reason to haste
all: all:
@for dir in lists groups profiles; do \ @for dir in lists groups profiles; do \
$(MAKE) -C $$dir; \ $(MAKE) -C $$dir || exit; \
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment