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:
parent
7c7c24960f
commit
b69652da4e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue