[meta-lts-mixins][scarthgap/rust][PATCH 34/35] classes/cargo: fix indentation

Scott Murray <[email protected]> Fri, 31 Jul 2026 07:33:04 -0400
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <f879150cf01b8593e2eb2fe26b00361f18edb29b.1785496469.git.scott.murray@konsulko.com>
From: Ross Burton <[email protected]>

Fix mismatching indentation.

Signed-off-by: Ross Burton <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(adapted from oe-core commit 0ffe43b82eeeb1c490e04f983c941b71cf11e5ab)
Signed-off-by: Scott Murray <[email protected]>
---
 classes-recipe/cargo.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes-recipe/cargo.bbclass b/classes-recipe/cargo.bbclass
index 2dd28e9..8e05a82 100644
--- a/classes-recipe/cargo.bbclass
+++ b/classes-recipe/cargo.bbclass
@@ -61,7 +61,7 @@ cargo_do_install () {
 	for tgt in "${B}/target/${CARGO_TARGET_SUBDIR}/"*; do
 		case $tgt in
 		*.so|*.rlib)
-                        if [ -n "${CARGO_INSTALL_LIBRARIES}" ]; then
+			if [ -n "${CARGO_INSTALL_LIBRARIES}" ]; then
 				install -d "${D}${rustlibdir}"
 				install -m755 "$tgt" "${D}${rustlibdir}"
 				have_installed=true
-- 
2.55.0