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>
This commit is contained in:
Leah Rowe
2023-05-27 12:00:04 +01:00
parent ff954c5b73
commit 06c92d4a4a
5 changed files with 6 additions and 50 deletions
+5 -1
View File
@@ -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