From 583af952e08d4df62b225c62890d6185b9adaec3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 05 Jun 2019 19:30:24 -0400 Subject: build: set -e in long loop --- 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 \ -- cgit v0.9.1