mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
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>
This commit is contained in:
@@ -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/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user