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>btrfsvols
parent
3400e5a12b
commit
5f197023db
6
lbmk
6
lbmk
|
@ -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/"
|
||||
|
||||
|
|
Loading…
Reference in New Issue