cargo_common.bbclass: Add missing space in shell conditional code
PATCH 1/1 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 <[email protected]>
--- meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/cargo_common.bbclass +1 -1
@@ -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
Signature · 1 line
2.37.2