Fix bashisms
authorRoss Burton <ross@openedhand.com>
Wed, 21 Feb 2007 17:17:12 +0000 (17:17 +0000)
committerRoss Burton <ross@openedhand.com>
Wed, 21 Feb 2007 17:17:12 +0000 (17:17 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1279 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/linux/linux-nokia770_2.6.16-osso26.bb
meta/packages/sysvinit/sysvinit_2.86.bb

index e980e8d..fa7dc45 100644 (file)
@@ -20,7 +20,7 @@ do_configure_prepend() {
 
        rm -f ${S}/.config || true
 
-        if [ "${TARGET_OS}" == "linux-gnueabi" -o  "${TARGET_OS}" == "linux-uclibcgnueabi" ]; then
+        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then
                 echo "CONFIG_AEABI=y"                   >> ${S}/.config
                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
         else
index c280ac9..1cfd0b7 100644 (file)
@@ -62,7 +62,7 @@ do_install () {
        if [ ! -z "${SERIAL_CONSOLE}" ]; then
                echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
        fi
-       if [ "${USE_VT}" == "1" ]; then
+       if [ "${USE_VT}" = "1" ]; then
                cat <<EOF >>${D}${sysconfdir}/inittab
 # ${base_sbindir}/getty invocations for the runlevels.
 #