dropbear, sysvinit, linux-nokia770: fix bashisms (from Poky)
authorMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 22 Feb 2007 15:00:03 +0000 (15:00 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 22 Feb 2007 15:00:03 +0000 (15:00 +0000)
packages/dropbear/dropbear.inc
packages/linux/linux-nokia770_2.6.16-osso26.bb
packages/sysvinit/sysvinit_2.86.bb

index 301ac24..a53d2db 100644 (file)
@@ -26,7 +26,7 @@ BINCOMMANDS = "dbclient ssh scp"
 EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"'
 
 do_configure_prepend() {
-       if [ "x${DISTRO}" != "xfamiliar" -a "${DISTRO_TYPE}" == "debug" ]; then
+       if [ "x${DISTRO}" != "xfamiliar" -a "${DISTRO_TYPE}" = "debug" ]; then
                oenote "WARNING: applying allow-nopw.patch which allows password-less logins!"
                patch -p1 < ${WORKDIR}/allow-nopw.patch
        fi
index ea0f2d5..6370643 100644 (file)
@@ -22,7 +22,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 53634b7..1a2d79c 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.
 #