summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \