From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 22 Oct 2025 15:05:46 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vBYXC-00Ac3w-2F for lore@lore.pengutronix.de; Wed, 22 Oct 2025 15:05:46 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vBYXB-0007aC-TI; Wed, 22 Oct 2025 15:05:45 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vBYX8-0007Z6-M7; Wed, 22 Oct 2025 15:05:42 +0200 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vBYX8-004tlD-1L; Wed, 22 Oct 2025 15:05:42 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vBYX8-00000001C2E-1WTw; Wed, 22 Oct 2025 15:05:42 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Wed, 22 Oct 2025 15:05:33 +0200 Message-ID: <20251022130535.284556-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v2 1/3] ci-prepare: fix indentation X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Hieber Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Use tabs for indentation as anywhere else in the codebase. No functional change intended. Signed-off-by: Roland Hieber --- v2: * reorder to beginning of series * fix unindented pun in the commit message v1: https://lore.distrokit.org/distrokit/20251022122947.241881-3-rhi@pengutronix.de --- ci-prepare | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ci-prepare b/ci-prepare index 4144d28eca2f..1e2605c05553 100755 --- a/ci-prepare +++ b/ci-prepare @@ -1,14 +1,14 @@ #!/bin/sh case "${JOB_BASE_NAME}" in - *v8a*) - [ -e selected_toolchain_r5 ] || { - # store away the currently selected toolchain - [ -e selected_toolchain ] && mv selected_toolchain selected_toolchain_ci_backup - # create toolchain based on v7a platform, which is needed for R5 processor. - ptxdist toolchain --platformconfig=configs/platform-v7a/platformconfig - mv selected_toolchain selected_toolchain_r5 - # restore the selected toolchain, if there was one before - [ -e selected_toolchain_ci_backup ] && mv selected_toolchain_ci_backup selected_toolchain - } - ;; + *v8a*) + [ -e selected_toolchain_r5 ] || { + # store away the currently selected toolchain + [ -e selected_toolchain ] && mv selected_toolchain selected_toolchain_ci_backup + # create toolchain based on v7a platform, which is needed for R5 processor. + ptxdist toolchain --platformconfig=configs/platform-v7a/platformconfig + mv selected_toolchain selected_toolchain_r5 + # restore the selected toolchain, if there was one before + [ -e selected_toolchain_ci_backup ] && mv selected_toolchain_ci_backup selected_toolchain + } + ;; esac -- 2.47.3