ti: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:43:35 +0000 (15:43 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:56 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Michael Smith <msmith@cbnco.com>
recipes/ti/ti-codec-engine.inc
recipes/ti/ti-linuxutils.inc

index 3c1e418..fdaebd5 100644 (file)
@@ -157,9 +157,9 @@ do_install() {
                {
                pwd
                cd ${D}/${installdir}/ti-codec-engine-examples/$i
-               if [ $(basename $i) == "audio1_ires" ] ; then 
+               if [ $(basename $i) = "audio1_ires" ] ; then 
                        ln -s ../servers/audio1_ires/audio1_ires.${DSPSUFFIX}
-               elif [ $(basename $i) == "server_api_example" ] ; then
+               elif [ $(basename $i) = "server_api_example" ] ; then
                        ln -s ../servers/server_api_example/audio_copy.${DSPSUFFIX}
                 elif [ $(basename $i) != "." ] ; then
                        ln -s ../servers/all_codecs/all.${DSPSUFFIX}
index 073416a..45b356f 100644 (file)
@@ -53,7 +53,7 @@ do_install () {
       EXEC_DIR="${D}${installdir}/ti-linuxutils-app/cmem-app" \
       install
     # Install EDMA
-    if [ ${SOC_FAMILY} == "dm365" ] ; then
+    if [ ${SOC_FAMILY} = "dm365" ] ; then
         cd ${S}/packages/ti/sdo/linuxutils/edma/apps
         make \
          LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" \