diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-10 19:25:45 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-10 19:25:45 +0100 |
| commit | 5f0bd5ea1089946971d1630712301f05d39d2312 (patch) | |
| tree | 63659605df8edf7496af65def23f59e4e5b92d8d /include/inject.sh | |
| parent | 8822c5681578dba7a0cbcf6df8a71c2da1301074 (diff) | |
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>
Diffstat (limited to 'include/inject.sh')
| -rw-r--r-- | include/inject.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inject.sh b/include/inject.sh index 783e06ed..ad5c9d91 100644 --- a/include/inject.sh +++ b/include/inject.sh @@ -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() { |
