diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-16 10:39:04 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-16 10:39:04 +0100 |
commit | 5f197023db1aee99bb95f4f1fd0ca004745229b2 (patch) | |
tree | 9868b40e29ea93d3e4be5d7a12b94060f3f1391a | |
parent | 3400e5a12b630fa17c2df2c17554ae89f8aa3b36 (diff) |
lbmk: always use lbmk_exit for exits
there were certain edge cases where TMPDIR wasn't
being cleaned. this patch will fix that.
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | lbmk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -58,10 +58,10 @@ main() buildpath="./script/${0##*/}" - [ "${mode}" = "help" ] && usage ${0} && exit 0 + [ "${mode}" = "help" ] && usage ${0} && lbmk_exit 0 [ "${mode}" = "list" ] && ./build command options "${buildpath}" && \ - exit 0 - [ $# -lt 2 ] && usage ${0} && exit 1 + lbmk_exit 0 + [ $# -lt 2 ] && usage ${0} && lbmk_exit 1 ./checkgit || fail "Please read: https://libreboot.org/docs/build/" |