From: Ross Burton Date: Tue, 12 Jan 2016 10:23:39 +0000 (+0000) Subject: tzdata: remove bashism X-Git-Tag: 2016-4~1627 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1dec024b020b04375bc80df5c722a62e63ff7732;p=openembedded-core.git tzdata: remove bashism Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/tzdata/tzdata_2015g.bb b/meta/recipes-extended/tzdata/tzdata_2015g.bb index a6faa1d19c..ec6e23604d 100644 --- a/meta/recipes-extended/tzdata/tzdata_2015g.bb +++ b/meta/recipes-extended/tzdata/tzdata_2015g.bb @@ -49,7 +49,7 @@ do_install () { # Install default timezone if [ -e ${D}${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ]; then install -d ${D}${sysconfdir} - if [ "${INSTALL_TIMEZONE_FILE}" == "1" ]; then + if [ "${INSTALL_TIMEZONE_FILE}" = "1" ]; then echo ${DEFAULT_TIMEZONE} > ${D}${sysconfdir}/timezone fi ln -s ${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ${D}${sysconfdir}/localtime