diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-27 12:00:04 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-27 12:00:04 +0100 |
commit | 06c92d4a4aa58e554b52283a7154b6e69c5b82e5 (patch) | |
tree | a613b48aa49daf40a4fc21ea0a009416090638df /lbmk | |
parent | ff954c5b73c4010f9984e0c543779f3692767c0c (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-x | lbmk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |