From: Ross Burton Date: Tue, 12 Jan 2016 10:23:39 +0000 (+0000) Subject: tzdata: remove bashism X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27737 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dec024b020b04375bc80df5c722a62e63ff7732;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 a6faa1d19c5..ec6e23604dc 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