DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v2 1/3] ci-prepare: fix indentation
@ 2025-10-22 13:05 Roland Hieber
  2025-10-22 13:05 ` [DistroKit] [PATCH v2 2/3] ci-prepare: use the correct ptxdist script inside Jenkins environment Roland Hieber
  2025-10-22 13:05 ` [DistroKit] [PATCH v2 3/3] ci-prepare: make return value safe Roland Hieber
  0 siblings, 2 replies; 3+ messages in thread
From: Roland Hieber @ 2025-10-22 13:05 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

Use tabs for indentation as anywhere else in the codebase. No functional
change intended.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-22 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-22 13:05 [DistroKit] [PATCH v2 1/3] ci-prepare: fix indentation Roland Hieber
2025-10-22 13:05 ` [DistroKit] [PATCH v2 2/3] ci-prepare: use the correct ptxdist script inside Jenkins environment Roland Hieber
2025-10-22 13:05 ` [DistroKit] [PATCH v2 3/3] ci-prepare: make return value safe Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox