summaryrefslogtreecommitdiff
path: root/lbmk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-27 12:00:04 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-27 12:00:04 +0100
commit06c92d4a4aa58e554b52283a7154b6e69c5b82e5 (patch)
treea613b48aa49daf40a4fc21ea0a009416090638df /lbmk
parentff954c5b73c4010f9984e0c543779f3692767c0c (diff)
blobutil: merge with main script
make blobutil a symlink. Example of command changes: ./blobutil download x220_8mb is now: ./update blobs download x220_8mb The old command still works, for compatibility. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'lbmk')
-rwxr-xr-xlbmk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lbmk b/lbmk
index 16f479c4..e86190ed 100755
--- a/lbmk
+++ b/lbmk
@@ -34,7 +34,11 @@ main()
if [ "${0##*/}" = "lbmk" ]; then
die "Do not run the lbmk script directly!"
elif [ "${0##*/}" = "download" ]; then
- ./update module $@
+ ./update module $@ || exit 1
+ exit 0
+ elif [ "${0##*/}" = "blobutil" ]; then
+ ./update blobs $@ || exit 1
+ exit 0
elif [ $# -lt 2 ]; then
die "Too few arguments. Try: ${0} help"
fi