]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
weston-init: fix variable expansion typo in weston-start
authorKhalifa Rouis <khalifa@missingno.tech>
Tue, 24 Mar 2026 20:49:19 +0000 (21:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Mar 2026 11:14:46 +0000 (11:14 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/weston-init/weston-start

index 3b13a0047a905bf072d109ef7e0a613734236e11..38aa0c6e27895d069eae99ccba12684614b5d79a 100755 (executable)
@@ -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