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>
# process module
. $m
- if [[ x"{$weston_modules}" != "x" ]]; then
+ if [[ x"${weston_modules}" != "x" ]]; then
add_weston_argument "${weston_modules}"
fi;
done