[oe-commits] =?UTF-8?Q?Vincent=20G=C3=A9nieux=20?=: fix '[[: not found' error message using dash
git at git.openembedded.org
git at git.openembedded.org
Fri Jan 23 11:36:55 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: f2ff849d5936d3dc5e24301e0620da265df50fea
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f2ff849d5936d3dc5e24301e0620da265df50fea
Author: Vincent Génieux <vincent2014 at startigen.fr>
Date: Mon Jan 12 23:10:01 2015 +0100
fix '[[: not found' error message using dash
Remove bash specific syntax '[[ test ]]' replaced with '[ test ]'.
Fixes [YOCTO #7112]
Signed-off-by: Vincent Génieux <vincent2014 at startigen.fr>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 805f799..1837693 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -378,7 +378,7 @@ do_strip() {
gawk '{print $1}'`
for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do {
- if [[ "$headers" != *"$str"* ]]; then
+ if [ "$headers" != *"$str"* ]; then
bbwarn "Section not found: $str";
fi
More information about the Openembedded-commits
mailing list