Fix variable used in sed expression in timezone/Makefile
authorAllan McRae <allan@archlinux.org>
Fri, 16 May 2014 03:43:47 +0000 (13:43 +1000)
committerAllan McRae <allan@archlinux.org>
Fri, 16 May 2014 03:58:31 +0000 (13:58 +1000)
ChangeLog
timezone/Makefile

index 09a7f7d..4161750 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-16  Allan McRae  <allan@archlinux.org>
+
+       * timezone/Makefile ($(objpfx)tzselect): Use correct variable
+       in sed expression.
+
 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
 
        [BZ #16917]
index d5f647c..0aef202 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 's|TZDIR=[^}]*|TZDIR=$(TZDIR)|' \
+           -e 's|TZDIR=[^}]*|TZDIR=$(zonedir)|' \
            -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
            -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
            -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \