[OE-core] [PATCH 08/18] lsbtest: de-bash script to remove bash dependency
Qi.Chen at windriver.com
Qi.Chen at windriver.com
Fri Nov 29 12:48:16 UTC 2013
From: Chen Qi <Qi.Chen at windriver.com>
De-bash scripts in lsbtest to make it not dependent on bash.
[YOCTO #5555]
Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 4 ++--
1 file 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 af1d61c..3901199 100644
--- a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
+++ b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright (C) 2012 Wind River Systems, Inc.
#
@@ -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}
--
1.7.9.5
More information about the Openembedded-core
mailing list