build initialise_command: simplify handling

Signed-off-by: Leah Rowe <leah@libreboot.org>
9020vga
Leah Rowe 2023-12-19 02:51:33 +00:00
parent 9c00746ba9
commit 124b5bebd6
1 changed files with 7 additions and 10 deletions

17
build
View File

@ -64,17 +64,14 @@ initialise_command()
check_project check_project
case "${1}" in case "${1}" in
help) help) usage ${0} ;;
usage ${0} list) items "${buildpath}" ;;
lbmk_exit 0 ;; version) mkversion ;;
list) *)
items "${buildpath}" option="${1}"
lbmk_exit 0 ;; return 0 ;;
version)
mkversion
lbmk_exit 0 ;;
esac esac
option="${1}" lbmk_exit 0
} }
install_packages() install_packages()