[OE-core] [PATCH] tzdata: remove bashism

Ross Burton ross.burton at intel.com
Tue Jan 12 10:23:39 UTC 2016


Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-extended/tzdata/tzdata_2015g.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/tzdata/tzdata_2015g.bb b/meta/recipes-extended/tzdata/tzdata_2015g.bb
index a6faa1d..ec6e236 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
-- 
2.6.4




More information about the Openembedded-core mailing list