]> git.openpandora.org Git - openembedded.git/commitdiff
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 301ac24cb2a1e73c0e376074e076cced393d03e6..a53d2dbb87148d1f64c5e41dbe6bc60fd7841c15 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 ea0f2d5b417eb277311f1e55c9bddbd7c886e81a..6370643f98312546a8b808e99ad41b49e2372f45 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 53634b755695c6fad803ae7b77058cd169391617..1a2d79c9be6725b10eae00574b3c731bb5faa585 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.
 #