diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-16 11:25:35 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-16 11:25:35 +0100 |
commit | a9ea277e568dcf1dd30a8cd557bcf8ee9e864c95 (patch) | |
tree | 66259ba58fc5dcbd952c037160bcf3bdad075c68 /lbmk | |
parent | f1f5b91a854ec5fe563d934c87126aba2f85d1b9 (diff) |
lbmk: fail if ./build command options fails
non-zero exit, whereas it was previously an unhandled
non-zero exit as per -e - now it is simply more verbose.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'lbmk')
-rwxr-xr-x | lbmk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -94,7 +94,8 @@ install_packages() execute_command() { if [ "${option}" = "list" ]; then - ./build command options "${buildpath}/${mode}" + ./build command options "${buildpath}/${mode}" || \ + fail "execute_command: cannot list command options" lbmk_exit 0 elif [ ! -f "${buildpath}/${mode}/${option}" ]; then fail "Invalid command. Run: ${linkpath} help" |