diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-08-20 00:19:01 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-21 22:51:43 +0100 |
| commit | 081a3655fbb10b83793f102b975e153e75240682 (patch) | |
| tree | 8ced05a280a0cb90c558108438b87606da56fe68 /meta/classes-recipe/cargo_common.bbclass | |
| parent | 359ca09e7d520fcec7bc0048f5f42f7f97dea7ec (diff) | |
| download | poky-081a3655fbb10b83793f102b975e153e75240682.tar.gz | |
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>
Diffstat (limited to 'meta/classes-recipe/cargo_common.bbclass')
| -rw-r--r-- | meta/classes-recipe/cargo_common.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/cargo_common.bbclass b/meta/classes-recipe/cargo_common.bbclass index eec7710a4c..dea0fbe2f6 100644 --- a/meta/classes-recipe/cargo_common.bbclass +++ b/meta/classes-recipe/cargo_common.bbclass | |||
| @@ -88,7 +88,7 @@ cargo_common_do_configure () { | |||
| 88 | EOF | 88 | EOF |
| 89 | fi | 89 | fi |
| 90 | 90 | ||
| 91 | if [ "${RUST_TARGET_SYS}" != "${RUST_BUILD_SYS}" -a "${RUST_TARGET_SYS}" != "${RUST_HOST_SYS}"]; then | 91 | if [ "${RUST_TARGET_SYS}" != "${RUST_BUILD_SYS}" -a "${RUST_TARGET_SYS}" != "${RUST_HOST_SYS}" ]; then |
| 92 | cat <<- EOF >> ${CARGO_HOME}/config | 92 | cat <<- EOF >> ${CARGO_HOME}/config |
| 93 | 93 | ||
| 94 | # TARGET_SYS | 94 | # TARGET_SYS |
