summaryrefslogtreecommitdiff
path: root/timezone
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2014-05-13 19:38:32 +0200
committerOndřej Bílka <neleai@seznam.cz>2014-05-13 19:38:32 +0200
commit893b4f375668c025cbd6828f82a8844edda276d1 (patch)
tree3ddd5b74cb61eb3bbe8729097ea5d5531df1feb7 /timezone
parent58aa195d323d93f1d69a833d5a710396976f7620 (diff)
tzselect: use zonedir instead of current working directory
Diffstat (limited to 'timezone')
-rw-r--r--timezone/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index 998cd14dff..d5f647ccf6 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -118,7 +118,7 @@ $(testdata)/Asia/Tokyo: asia $(zic-deps)
$(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
sed -e 's|/bin/bash|$(BASH)|' \
- -e '/TZDIR=/s|\$$(pwd)|$(zonedir)|' \
+ -e 's|TZDIR=[^}]*|TZDIR=$(TZDIR)|' \
-e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
-e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
-e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \