summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2014-03-11 15:40:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-11 20:24:03 -0700
commitc90d1047c41148cbd57f26b5a34563346602a71b (patch)
tree35622569adbef117d3ed9d1731bb547a579169a4 /meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
parent9b22b32863f9110522362706a28036cc945201d5 (diff)
downloadopenembedded-core-c90d1047c41148cbd57f26b5a34563346602a71b.tar.gz
lsbtest: fix comparison bashism
== is a bashism use = instead. Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lsb/lsbtest/LSB_Test.sh')
-rw-r--r--meta/recipes-extended/lsb/lsbtest/LSB_Test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
index 12f00547ae..ab79985b1b 100644
--- a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
+++ b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
@@ -272,12 +272,12 @@ then
fi
if ! `grep -F -q "noarch-suse" ${PLATFORM_FILE}`; then
- if [ ${ARCH} == i686 ];then
+ if [ ${ARCH} = i686 ];then
echo "i486-suse" >> ${PLATFORM_FILE}
echo "i486-noarch" >> ${PLATFORM_FILE}
echo "i486-pc" >> ${PLATFORM_FILE}
echo "noarch-suse" >> ${PLATFORM_FILE}
- elif [ ${ARCH} == x86_64 ]; then
+ elif [ ${ARCH} = x86_64 ]; then
echo "i486-suse" >> ${PLATFORM_FILE}
echo "i486-noarch" >> ${PLATFORM_FILE}
echo "i486-pc" >> ${PLATFORM_FILE}