mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 15:29:35 +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)"
|
projectname="$(cat projectname)"
|
||||||
opts=""
|
opts=""
|
||||||
boards=
|
boards=
|
||||||
firstoption="${1}"
|
firstoption=""
|
||||||
|
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
@@ -40,6 +40,7 @@ main()
|
|||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
firstoption="${1}"
|
||||||
|
|
||||||
if [ "${firstoption}" = "help" ]; then
|
if [ "${firstoption}" = "help" ]; then
|
||||||
usage
|
usage
|
||||||
|
|||||||
Reference in New Issue
Block a user