tzselect: use zonedir instead of current working directory
authorSami Kerola <kerolasa@iki.fi>
Tue, 13 May 2014 17:38:32 +0000 (19:38 +0200)
committerOndřej Bílka <neleai@seznam.cz>
Tue, 13 May 2014 17:38:32 +0000 (19:38 +0200)
ChangeLog
timezone/Makefile

index 5c25034..8906e0f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-05-13  Sami Kerola  <kerolasa@iki.fi>
+
+       * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
+       current working directory
+
+
 2014-05-13  Roland McGrath  <roland@hack.frob.com>
 
        * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
index 998cd14..d5f647c 100644 (file)
@@ -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)"|' \