From 893b4f375668c025cbd6828f82a8844edda276d1 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Tue, 13 May 2014 19:38:32 +0200 Subject: [PATCH] tzselect: use zonedir instead of current working directory --- ChangeLog | 6 ++++++ timezone/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5c25034..8906e0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-05-13 Sami Kerola + + * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead + current working directory + + 2014-05-13 Roland McGrath * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ... diff --git a/timezone/Makefile b/timezone/Makefile index 998cd14..d5f647c 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)"|' \ -- 2.7.4