From c90d1047c41148cbd57f26b5a34563346602a71b Mon Sep 17 00:00:00 2001 From: Stefan Stanacar Date: Tue, 11 Mar 2014 15:40:09 +0000 Subject: lsbtest: fix comparison bashism == is a bashism use = instead. Signed-off-by: Stefan Stanacar Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-extended/lsb/lsbtest') 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} -- cgit v1.2.3