All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] automation/eclair: export XEN_TARGET_ARCH during assignment
@ 2026-05-19 10:27 Dmytro Prokopchuk1
  2026-05-19 10:32 ` Jan Beulich
  2026-05-19 10:45 ` Nicola Vetrini
  0 siblings, 2 replies; 5+ messages in thread
From: Dmytro Prokopchuk1 @ 2026-05-19 10:27 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org
  Cc: Dmytro Prokopchuk1, Nicola Vetrini, Doug Goldstein,
	Stefano Stabellini

Move XEN_TARGET_ARCH export into the architecture selection
branches instead of exporting the variable before assignment.
This ensures the selected architecture value is correctly
propagated.

No functional changes.

Signed-off-by: Dmytro Prokopchuk <dmytro_prokopchuk1@epam.com>
---
 automation/eclair_analysis/prepare.sh | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/automation/eclair_analysis/prepare.sh b/automation/eclair_analysis/prepare.sh
index e941e6edc4..fde83c2d2d 100755
--- a/automation/eclair_analysis/prepare.sh
+++ b/automation/eclair_analysis/prepare.sh
@@ -22,12 +22,10 @@ if [ $# -ne 1 ]; then
   exit 1
 fi
 
-export XEN_TARGET_ARCH
-
 if [ "$1" = "X86_64" ]; then
-  XEN_TARGET_ARCH=x86_64
+  export XEN_TARGET_ARCH=x86_64
 elif [ "$1" = "ARM64" ]; then
-  XEN_TARGET_ARCH=arm64
+  export XEN_TARGET_ARCH=arm64
 else
   fatal "Unknown configuration: $1"
 fi
-- 
2.43.0


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

end of thread, other threads:[~2026-05-19 11:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 10:27 [PATCH] automation/eclair: export XEN_TARGET_ARCH during assignment Dmytro Prokopchuk1
2026-05-19 10:32 ` Jan Beulich
2026-05-19 10:45 ` Nicola Vetrini
2026-05-19 11:03   ` Dmytro Prokopchuk1
2026-05-19 11:09     ` Nicola Vetrini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.