From 124b5bebd6204c16ec989aee7e8c7f9ff16b086b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 19 Dec 2023 02:51:33 +0000 Subject: build initialise_command: simplify handling Signed-off-by: Leah Rowe --- build | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'build') diff --git a/build b/build index fec3f3c2..7a75a36a 100755 --- a/build +++ b/build @@ -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() -- cgit v1.2.1