summaryrefslogtreecommitdiffstats
path: root/package/tz
diff options
context:
space:
mode:
authorJerzy Grzegorek <jerzy.grzegorek@trzebnica.net>2014-10-27 09:25:28 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-11-02 23:27:01 +0100
commite80053176125d5345d7bdf0ee1f45c837728f62d (patch)
tree28917e8c24d8ebee794901658826f211ab05449b /package/tz
parentac9621d9950e2ee7ff881d9460961b263e5f81b7 (diff)
downloadbuildroot-e80053176125d5345d7bdf0ee1f45c837728f62d.tar.gz
buildroot-e80053176125d5345d7bdf0ee1f45c837728f62d.zip
package: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/tz')
-rw-r--r--package/tz/tz.mk18
1 files changed, 9 insertions, 9 deletions
diff --git a/package/tz/tz.mk b/package/tz/tz.mk
index 770cc46b30..349d73f7f2 100644
--- a/package/tz/tz.mk
+++ b/package/tz/tz.mk
@@ -21,19 +21,19 @@ endef
define TZ_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0644 $(HOST_DIR)/usr/share/zoneinfo/zone.tab \
- $(TARGET_DIR)/usr/share/zoneinfo/zone.tab
+ $(TARGET_DIR)/usr/share/zoneinfo/zone.tab
$(INSTALL) -D -m 0644 $(HOST_DIR)/usr/share/zoneinfo/iso3166.tab \
- $(TARGET_DIR)/usr/share/zoneinfo/iso3166.tab
+ $(TARGET_DIR)/usr/share/zoneinfo/iso3166.tab
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 \
- printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \
- "$(TZDATA_LOCALTIME)"; \
- exit 1; \
- fi; \
- cd $(TARGET_DIR)/etc; \
- ln -sf ../usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) TZ; \
+ if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) ]; then \
+ printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \
+ "$(TZDATA_LOCALTIME)"; \
+ exit 1; \
+ fi; \
+ cd $(TARGET_DIR)/etc; \
+ ln -sf ../usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) TZ; \
fi
endef
OpenPOWER on IntegriCloud