summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-19 02:51:33 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-19 02:52:46 +0000
commit124b5bebd6204c16ec989aee7e8c7f9ff16b086b (patch)
treeed762fae3756c09c6c944e59465609532bf4accf /build
parent9c00746ba9aa2d42d2ad1b8126ac91bdfb8372d4 (diff)
build initialise_command: simplify handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-rwxr-xr-xbuild17
1 files changed, 7 insertions, 10 deletions
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()