mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
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 `]' (From OE-Core rev: 9ff2817536f4b568e702470789efeab0008d73a0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user