fix '[[: not found' error message using dash

Remove bash specific syntax '[[ test ]]' replaced with '[ test ]'.

Fixes [YOCTO #7112]

(From OE-Core rev: f2ff849d5936d3dc5e24301e0620da265df50fea)

Signed-off-by: Vincent Génieux <vincent2014@startigen.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Vincent Génieux 2015-01-12 23:10:01 +01:00 committed by Richard Purdie
parent c5fb558a1c
commit 9839638238
1 changed files with 1 additions and 1 deletions

View File

@ -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