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/lib.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/lib.sh')
| -rw-r--r-- | include/lib.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/lib.sh b/include/lib.sh index 61093758..1a0468d3 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -85,23 +85,6 @@ e() printf "%s %s\n" "$1" "$es2" 1>&2 } -setvars() -{ - _setvars="" - - if [ $# -lt 2 ]; then - return 0 - fi - - val="$1" - shift 1 - - while [ $# -gt 0 ]; do - printf "%s=\"%s\"\n" "$1" "$val" - shift 1 - done -} - # return 0 if project is single-tree, otherwise 1 # e.g. coreboot is multi-tree, so 1 singletree() |
