Skip to contentSkip to conversation

Dora backport of master fix

PATCH New Paul Eggleton 1 participant 2 messages Mar 12, 2014

lore
Share & tools
lore
#0 lore raw

cover Dora backport of master fix

Backporting this to dora since it's about to be backported to dylan as well.

The following changes since commit ca55e7321f0c52fbe13d301d0dfe3adff5435639:

iproute2: de-bash its scripts to remove the bash dependency (2014-03-11 07:56:29 -0700)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/dora-lsbtest
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/dora-lsbtest

Stefan Stanacar (1):
lsbtest: fix comparison bashism

 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 2 +-
 meta/recipes-extended/lsb/lsbtest_1.0.bb      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.5.3
#1 lore raw

PATCH 1/1 lsbtest: fix comparison bashism

From: Stefan Stanacar <[email protected]>

== is a bashism use = instead.

(Based on OE-Core master rev: c90d1047c41148cbd57f26b5a34563346602a71b)

---
 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 2 +-
 meta/recipes-extended/lsb/lsbtest_1.0.bb      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-extended/lsb/lsbtest/LSB_Test.sh +1 -1
index af1d61c..cea0199 100644
@@ -272,7 +272,7 @@ 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}
meta/recipes-extended/lsb/lsbtest_1.0.bb +3 -3
index 8973e09..84cb4f2 100644
@@ -19,15 +19,15 @@ do_install() {
 	install -d  ${D}/opt/lsb-test
 	install -m 0644 ${S}/packages_list ${D}/opt/lsb-test/packages_list
 	install -m 0644 ${S}/session ${D}/opt/lsb-test/session
-	if [ "${TARGET_ARCH}" == "i586" ];then
+	if [ "${TARGET_ARCH}" = "i586" ];then
 		sed -i -e 's/lsbarch/ia32/g' -e 's/targetarch/i486/g' ${D}/opt/lsb-test/packages_list
 		sed -i -e 's/targetarch/x86/g' ${D}/opt/lsb-test/session
 	fi
-	if [ "${TARGET_ARCH}" == "x86_64" ];then
+	if [ "${TARGET_ARCH}" = "x86_64" ];then
 		sed -i -e 's/lsbarch/amd64/g' -e 's/targetarch/x86_64/g' ${D}/opt/lsb-test/packages_list
 		sed -i -e 's/targetarch/x86-64/g' ${D}/opt/lsb-test/session
 	fi
-	if [ "${TARGET_ARCH}" == "powerpc" ];then
+	if [ "${TARGET_ARCH}" = "powerpc" ];then
 		sed -i -e 's/lsbarch/ppc32/g' -e 's/targetarch/ppc/g' ${D}/opt/lsb-test/packages_list
 		sed -i -e 's/targetarch/PPC32/g' ${D}/opt/lsb-test/session
 	fi
Signature · 1 line
1.8.5.3