tzdata: remove bashism
PATCH 1/1 tzdata: remove bashism
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-extended/tzdata/tzdata_2015g.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/tzdata/tzdata_2015g.bb +1 -1
@@ -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