xbmk: remove setvars function

only one file used it. i've replaced its use with
a simple awk call alongside eval.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-09-10 19:25:45 +01:00
parent 8822c56815
commit 5f0bd5ea10
2 changed files with 2 additions and 18 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ tmpromdir=""
tree=""
xchanged=""
eval "`setvars "" $checkvars`"
eval "`printf "%s\n" "$checkvars" | \
awk '{ for (i=1; i<=NF; i++) $i = $i "=;"; print }'`"
inject()
{