diff options
author | Leah Rowe <leah@libreboot.org> | 2023-12-19 02:51:33 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-12-19 02:52:46 +0000 |
commit | 124b5bebd6204c16ec989aee7e8c7f9ff16b086b (patch) | |
tree | ed762fae3756c09c6c944e59465609532bf4accf | |
parent | 9c00746ba9aa2d42d2ad1b8126ac91bdfb8372d4 (diff) |
build initialise_command: simplify handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | build | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -64,17 +64,14 @@ initialise_command() check_project case "${1}" in - help) - usage ${0} - lbmk_exit 0 ;; - list) - items "${buildpath}" - lbmk_exit 0 ;; - version) - mkversion - lbmk_exit 0 ;; + help) usage ${0} ;; + list) items "${buildpath}" ;; + version) mkversion ;; + *) + option="${1}" + return 0 ;; esac - option="${1}" + lbmk_exit 0 } install_packages() |