tzdata: remove bashism

(From OE-Core rev: 1dec024b020b04375bc80df5c722a62e63ff7732)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2016-01-12 10:23:39 +00:00 committed by Richard Purdie
parent 7c7c24960f
commit b69652da4e
1 changed files with 1 additions and 1 deletions

View 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