summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/build b/build
index ce0b71b..d1209cf 100755
--- a/build
+++ b/build
@@ -35,8 +35,13 @@ install: build
ln -sf /usr/share/zoneinfo/Universal tzdata-common.data/etc/localtime
ln -sf . tzdata-common.data/usr/share/zoneinfo/posix
# Install time zones.
- for t in $(tables); do \
- grep '^Link' src/$${t} | while read type dest src etc; do \
+ for tt in $(tables); do \
+ grep '^Link' src/$${tt} | while read type dest src etc; do \
+ if [ x"$${dest}" = x'Etc/UTC' ]; then \
+ t='common'; \
+ else \
+ t="$${tt}"; \
+ fi; \
rm -f "tzdata-$${t}.data/usr/share/zoneinfo/$${src}"; \
link="$${src}" up=''; \
while [ "$${link#*/}" != "$${link}" ] && \