summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index 6058b66..f632b1a 100755
--- a/build
+++ b/build
@@ -37,10 +37,10 @@ install: build
ln -sf /usr/share/zoneinfo/Factory tzdata.data/etc/localtime
# Install time zones.
set -e; for t in $(tables); do \
- src/zic -d tzdata-$${t}.data/usr/share/zoneinfo src/$${t}; \
+ p="tzdata-$${t}"; \
+ src/zic -d "$${p}.data/usr/share/zoneinfo" "src/$${t}"; \
grep '^L' src/$${t} | while read type dest src etc; do \
rm -f "tzdata-$${t}.data/usr/share/zoneinfo/$${src}"; \
- p="tzdata-$${t}"; \
link="$${src}" up=''; \
while [ x"$${link#*/}" != x"$${link}" ] && \
[ x"$${link%%/*}" = x"$${dest%%/*}" ]; do \