summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-05 19:30:24 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-05 19:30:24 (EDT)
commit583af952e08d4df62b225c62890d6185b9adaec3 (patch)
treecfdbc10c22bfe1d60871b79e47671eaa98e6f4da
parent02041687f2e7d8c080792696f5e6b1fad96f8255 (diff)
build: set -e in long loop
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index 33e0b52..c719f96 100755
--- a/build
+++ b/build
@@ -36,9 +36,9 @@ install: build
ln -sf /usr/share/zoneinfo/Universal tzdata.data/etc/localtime
ln -sf . tzdata.data/usr/share/zoneinfo/posix
# Install time zones.
- for t in $(tables); do \
+ set -e; for t in $(tables); do \
src/zic -d tzdata-$${t}.data/usr/share/zoneinfo \
- -L /dev/null src/$${t} || exit $?; \
+ -L /dev/null src/$${t}; \
grep '^L' src/$${t} | while read type dest src etc; do \
rm -f "tzdata-$${t}.data/usr/share/zoneinfo/$${src}"; \
if [ x"$${dest}" = x'Etc/UTC' ]; then \