summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-07-04 08:56:38 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-04 08:59:33 +0200
commit9e057861cb8314e1ce6e710f584a68a40eabc39b (patch)
tree59403315a4629c5e023616b7e98dee0c3febdbcf
parent221808810d546e6808c48ec09383bd161d995be5 (diff)
downloadbuildroot-9e057861cb8314e1ce6e710f584a68a40eabc39b.tar.gz
buildroot-9e057861cb8314e1ce6e710f584a68a40eabc39b.zip
package/tz: fix variable name
The tz package mixes its own variable with the one from the tzdata package... Fix the variable name in tz. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Alexandre BELLONI <alexandre.belloni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/tz/tz.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/tz/tz.mk b/package/tz/tz.mk
index 4d1c8c4d61..6b1f9f4d24 100644
--- a/package/tz/tz.mk
+++ b/package/tz/tz.mk
@@ -26,13 +26,13 @@ define TZ_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/usr/share/zoneinfo/uclibc
cp -a $(@D)/output/* $(TARGET_DIR)/usr/share/zoneinfo/uclibc
if [ -n "$(TZ_LOCALTIME)" ]; then \
- if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) ]; then \
+ if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/uclibc/$(TZ_LOCALTIME) ]; then \
printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \
- "$(TZDATA_LOCALTIME)"; \
+ "$(TZ_LOCALTIME)"; \
exit 1; \
fi; \
cd $(TARGET_DIR)/etc; \
- ln -sf ../usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) TZ; \
+ ln -sf ../usr/share/zoneinfo/uclibc/$(TZ_LOCALTIME) TZ; \
fi
endef
OpenPOWER on IntegriCloud