public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] weston-init: fix variable expansion typo in weston-start
@ 2026-03-24 20:49 Khalifa Rouis
  0 siblings, 0 replies; only message in thread
From: Khalifa Rouis @ 2026-03-24 20:49 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khalifa Rouis

The variable weston_modules was incorrectly enclosed as {$weston_modules}
instead of ${weston_modules}.
This typo prevents proper bash variable expansion when checking for and
appending Weston module arguments.

This commit corrects the syntax to ensure the modules are properly
evaluated.

Fixes: c8aa0222ce2b ("weston: wrapper for weston modules argument")
Signed-off-by: Khalifa Rouis <khalifa@missingno.tech>
---
 meta/recipes-graphics/wayland/weston-init/weston-start | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start
index 3b13a0047a..38aa0c6e27 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -50,7 +50,7 @@ if [ -d "$modules_dir" ]; then
 
 		# process module
 		. $m
-		if [[ x"{$weston_modules}" != "x" ]]; then
+		if [[ x"${weston_modules}" != "x" ]]; then
 			add_weston_argument "${weston_modules}"
 		fi;
 	done
-- 
2.43.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-24 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 20:49 [PATCH] weston-init: fix variable expansion typo in weston-start Khalifa Rouis

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