mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-27 22:59:01 +02:00
build/boot/roms: only set firstoption if argc>0
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -32,7 +32,7 @@ set -u -e
|
||||
projectname="$(cat projectname)"
|
||||
opts=""
|
||||
boards=
|
||||
firstoption="${1}"
|
||||
firstoption=""
|
||||
|
||||
main()
|
||||
{
|
||||
@@ -40,6 +40,7 @@ main()
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
firstoption="${1}"
|
||||
|
||||
if [ "${firstoption}" = "help" ]; then
|
||||
usage
|
||||
|
||||
Reference in New Issue
Block a user