mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
general code cleanup in shell scripts
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -21,9 +21,9 @@ main()
|
||||
build_for_mainboard() {
|
||||
[ -f "config/coreboot/${1}/target.cfg" ] || \
|
||||
err "build_for_mainboard ${1}: target.cfg does not exist"
|
||||
tree="undefined"
|
||||
tree=""
|
||||
. "config/coreboot/${1}/target.cfg" # source
|
||||
[ "${tree}" = "undefined" ] && \
|
||||
[ -z ${tree} ] && \
|
||||
err "build_for_mainboard ${1}: improper tree definition"
|
||||
buildutils "${tree}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user