From: Richard Purdie Date: Fri, 19 Oct 2018 17:33:46 +0000 (+0100) Subject: image_types: Fix a shell syntax error in do_image_ubi X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~16351 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1c6442872c9361b6b61a83adcce9cade2f2ecd2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image_types: Fix a shell syntax error in do_image_ubi | DEBUG: Executing shell function do_image_ubi | /home/pokybuild/yocto-worker/nightly-oe-selftest/build/build-st-31289/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_ubi.7928: 123: [: missing ] Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 00a00d318f4..05e5b0a2e0c 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -154,7 +154,7 @@ multiubi_mkfs() { local ubinize_args="$2" # Added prompt error message for ubi and ubifs image creation. - if [ -z "$mkubifs_args"] || [ -z "$ubinize_args" ]; then + if [ -z "$mkubifs_args" ] || [ -z "$ubinize_args" ]; then bbfatal "MKUBIFS_ARGS and UBINIZE_ARGS have to be set, see http://www.linux-mtd.infradead.org/faq/ubifs.html for details" fi