diff options
author | Leah Rowe <leah@libreboot.org> | 2025-04-12 12:56:05 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-04-12 12:58:28 +0100 |
commit | 51798278397ce0bc55648feee4e2dd7e4f12ebf0 (patch) | |
tree | c900d593d9f364ebea0cb0282ee7d450ce5c6684 | |
parent | c189257888af33a435ca483838ae44069585d227 (diff) |
build: make coreboot building an else in "roms"
Otherwise, the current return prevents set -u -e
after the case/switch block, which is a problem if
set +u +e was done at any point before the return.
Remove the return in the roms) section of the case/switch
block, and make the building of coreboot images part of
an else clause.
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | build | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -47,10 +47,10 @@ main() roms) if [ $# -gt 1 ] && [ "$2" = "serprog" ]; then mk -b stm32-vserprog pico-serprog - return 0 - fi - shift 1 - x_ ./mk -b coreboot "$@" ;; + else + shift 1 + x_ ./mk -b coreboot "$@" + fi ;; *) [ -f "$spath" ] || $err "bad command" $shcmd |