]> code.ossystems Code Review - openembedded-core.git/commitdiff
tzdata: remove bashism
authorRoss Burton <ross.burton@intel.com>
Tue, 12 Jan 2016 10:23:39 +0000 (10:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Jan 2016 00:03:52 +0000 (00:03 +0000)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/tzdata/tzdata_2015g.bb

index a6faa1d19c51c4e77bb1e95887d90b9a0faed3b3..ec6e23604dc24c6480c77e7b8492334d1f0f890e 100644 (file)
@@ -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