diff options
author | Leah Rowe <leah@libreboot.org> | 2023-06-20 00:56:44 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-06-20 00:56:44 +0100 |
commit | a08b6ac8e2e9eebc6d3ea48bb98f4d288c7faa1f (patch) | |
tree | af7e0c2dd758aa9204cf726fb51344154d5ffcbc /resources/scripts/build/boot/roms | |
parent | 347f0899b74b687c30d5c269225c502f232671e9 (diff) |
build/boot/roms: only set firstoption if argc>0
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/boot/roms')
-rwxr-xr-x | resources/scripts/build/boot/roms | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/build/boot/roms b/resources/scripts/build/boot/roms index f0398273..28885e62 100755 --- a/resources/scripts/build/boot/roms +++ b/resources/scripts/build/boot/roms @@ -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 |