diff options
author | Vincent Génieux <vincent2014@startigen.fr> | 2015-01-12 23:10:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:35:27 +0000 |
commit | f2ff849d5936d3dc5e24301e0620da265df50fea (patch) | |
tree | e102a4d2ce4d832b2a383887a3753cf537215cb6 /meta/classes | |
parent | 66ff089603618dc9b22532509bf39274bf6adf67 (diff) | |
download | openembedded-core-contrib-f2ff849d5936d3dc5e24301e0620da265df50fea.tar.gz |
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@startigen.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 805f7992e02..183769316b6 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 |