From: Khem Raj Date: Sat, 20 Aug 2022 07:19:01 +0000 (-0700) Subject: cargo_common.bbclass: Add missing space in shell conditional code X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ff2817536f4b568e702470789efeab0008d73a0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cargo_common.bbclass: Add missing space in shell conditional code Fixes cofigure errors in rust recipes e.g. tmp/work/riscv32-yoe-linux-musl/rust/1.62.1-r0/temp/run.setup_cargo_environment.3047487: line 215: [: missing `]' Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/cargo_common.bbclass b/meta/classes-recipe/cargo_common.bbclass index eec7710a4c8..dea0fbe2f65 100644 --- a/meta/classes-recipe/cargo_common.bbclass +++ b/meta/classes-recipe/cargo_common.bbclass @@ -88,7 +88,7 @@ cargo_common_do_configure () { EOF fi - if [ "${RUST_TARGET_SYS}" != "${RUST_BUILD_SYS}" -a "${RUST_TARGET_SYS}" != "${RUST_HOST_SYS}"]; then + if [ "${RUST_TARGET_SYS}" != "${RUST_BUILD_SYS}" -a "${RUST_TARGET_SYS}" != "${RUST_HOST_SYS}" ]; then cat <<- EOF >> ${CARGO_HOME}/config # TARGET_SYS