vendor.sh: split up setvfile()

split the actual bootstrapping to getvfile()

setvfile only sets the config, but then it will
call getvfile() to act on that config.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-11 00:34:53 +01:00
parent 7d90d43425
commit 0cc816167b
2 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ readkconfig()
x_ rm -f "$xbmktmp/cbcfg"
fx_ scankconfig x_ find "$boarddir/config" -type f
eval "`setcfg "$xbmktmp/cbcfg" 1`"
setvfile "$@" && return 1; :
setvfile "$@" || return 1; :
}
scankconfig()