diff options
| author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2014-03-11 15:40:09 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-11 20:28:57 -0700 |
| commit | d6dc48f5fb4d2e12605a1677e6270f13bb323649 (patch) | |
| tree | 8313efe543d35c705058f454a6048c7b26a1fc02 /meta/recipes-extended/lsb/lsbtest | |
| parent | 24d17244d42215227fae857215a807df54aded02 (diff) | |
| download | poky-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.sh | 4 |
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 | |||
| 272 | fi | 272 | fi |
| 273 | 273 | ||
| 274 | if ! `grep -F -q "noarch-suse" ${PLATFORM_FILE}`; then | 274 | if ! `grep -F -q "noarch-suse" ${PLATFORM_FILE}`; then |
| 275 | if [ ${ARCH} == i686 ];then | 275 | if [ ${ARCH} = i686 ];then |
| 276 | echo "i486-suse" >> ${PLATFORM_FILE} | 276 | echo "i486-suse" >> ${PLATFORM_FILE} |
| 277 | echo "i486-noarch" >> ${PLATFORM_FILE} | 277 | echo "i486-noarch" >> ${PLATFORM_FILE} |
| 278 | echo "i486-pc" >> ${PLATFORM_FILE} | 278 | echo "i486-pc" >> ${PLATFORM_FILE} |
| 279 | echo "noarch-suse" >> ${PLATFORM_FILE} | 279 | echo "noarch-suse" >> ${PLATFORM_FILE} |
| 280 | elif [ ${ARCH} == x86_64 ]; then | 280 | elif [ ${ARCH} = x86_64 ]; then |
| 281 | echo "i486-suse" >> ${PLATFORM_FILE} | 281 | echo "i486-suse" >> ${PLATFORM_FILE} |
| 282 | echo "i486-noarch" >> ${PLATFORM_FILE} | 282 | echo "i486-noarch" >> ${PLATFORM_FILE} |
| 283 | echo "i486-pc" >> ${PLATFORM_FILE} | 283 | echo "i486-pc" >> ${PLATFORM_FILE} |
