summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/build b/build
index 1ac3b25..33e0b52 100755
--- a/build
+++ b/build
@@ -16,10 +16,6 @@ nop:
build:
oh-autobuild -- KSHELL=/bin/sh
- for t in $(tables); do \
- src/zic -d tzdata-$${t}.data/usr/share/zoneinfo \
- -L /dev/null src/$${t} || exit $?; \
- done
touch $@
install: build
@@ -41,6 +37,8 @@ install: build
ln -sf . tzdata.data/usr/share/zoneinfo/posix
# Install time zones.
for t in $(tables); do \
+ src/zic -d tzdata-$${t}.data/usr/share/zoneinfo \
+ -L /dev/null src/$${t} || exit $?; \
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 \