don't call blobutil directly from lbmk

it's bloat, and was only there for backwards compatibility
with the old commands, but the new commands are e.g.

./update blobs inject

instead of:

./blobutil inject

this results in a slight code size reduction in lbmk

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-08-17 11:55:38 +01:00
parent 0848622799
commit 63b0e99f6c
7 changed files with 11 additions and 16 deletions
+1 -4
View File
@@ -33,10 +33,7 @@ main()
{
if [ "${0##*/}" = "lbmk" ]; then
die "Do not run the lbmk script directly!"
elif [ "${0##*/}" = "blobutil" ]; then
./update blobs $@ || exit 1
exit 0
elif [ $# -lt 1 ]; then
elif [ $# -lt 2 ]; then
die "Too few arguments. Try: ${0} help"
fi