Skip to contentSkip to conversation

tzdata: remove bashism

PATCH New Ross Burton 1 participant 1 message Jan 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tzdata: remove bashism

---
 meta/recipes-extended/tzdata/tzdata_2015g.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/tzdata/tzdata_2015g.bb +1 -1
index a6faa1d..ec6e236 100644
@@ -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
Signature · 1 line
2.6.4