aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb/lsbtest
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:28:57 -0700
commitd6dc48f5fb4d2e12605a1677e6270f13bb323649 (patch)
tree8313efe543d35c705058f454a6048c7b26a1fc02 /meta/recipes-extended/lsb/lsbtest
parent24d17244d42215227fae857215a807df54aded02 (diff)
downloadopenembedded-core-contrib-d6dc48f5fb4d2e12605a1677e6270f13bb323649.tar.gz
lsbtest: fix comparison bashism
== is a bashism use = instead. (From OE-Core rev: c90d1047c41148cbd57f26b5a34563346602a71b) 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')
-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}