mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
fix '[[: not found' error message using dash
Remove bash specific syntax '[[ test ]]' replaced with '[ test ]'. Fixes [YOCTO #7112] (From OE-Core rev: f2ff849d5936d3dc5e24301e0620da265df50fea) (From OE-Core rev: 574f27be14a0f0be6a96e097903704c3492620a7) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f30d619a63
commit
00af07c6b6
@@ -403,7 +403,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user