]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
tzselect: use zonedir instead of current working directory
authorSami Kerola <kerolasa@iki.fi>
Tue, 13 May 2014 17:38:32 +0000 (19:38 +0200)
committerAllan McRae <allan@archlinux.org>
Fri, 16 May 2014 04:49:26 +0000 (14:49 +1000)
(cherry picked from commit 893b4f375668c025cbd6828f82a8844edda276d1)
(cherry picked from commit c72399fbc5228580a560d8fe319ff98150928b05)

Conflicts:
timezone/Makefile

ChangeLog
timezone/Makefile

index 42e9558e43bda561ab8cea75e858f0fce89a406c..21b76eee9113aead871db985ea2e1d2c64a10611 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-13  Sami Kerola  <kerolasa@iki.fi>
+
+       * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
+       current working directory
+
 2014-05-16  Allan McRae  <allan@archlinux.org>
 
        * po/sv.po: Update Swedish translation from translation project.
index f5fb4241e0027a6b777233dda0421bd3b7076551..58e7f507b1556e3cb21187c8500b24719becb8f1 100644 (file)
@@ -114,7 +114,7 @@ $(testdata)/Asia/Tokyo: asia $(zic-deps)
 
 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
        sed -e 's|/bin/bash|$(KSH)|g' \
-           -e '/TZDIR=/s|\$$(pwd)|$(zonedir)|' \
+           -e 's|TZDIR=[^}]*|TZDIR=$(zonedir)|' \
            -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
            -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
            -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \