summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-26 12:59:26 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-26 12:59:26 (EDT)
commitbc79fa17f1877ae04ab16a19d01771b99ab4da77 (patch)
treeb54cefb1afe6536a8e4523ef13ee1b7cbb4c9b81
parent202ab8233e0def15e6ece754b077821c305e405c (diff)
build: Add some set -e.
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 8a47f95..53d87b3 100755
--- a/build
+++ b/build
@@ -16,9 +16,10 @@ build:
install: build
# Make file system hierarchy.
+ set -e; \
while read -r mode dir; do \
install -d -m "$${mode}" "base-files.data/$${dir}"; \
- done <'../dirs'
+ done <'../dirs'; \
while read -r mode dir; do \
install -d -m "$${mode}" "base-files.data/$${dir}"; \
done <'../dirs.$(OPK_HOST_ARCH_KERNEL)'