u-boot-libre: command line parsing: fix [version]

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-08-02 23:02:31 +02:00
parent ea7d513293
commit 5dae8ea88c
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 2 additions and 2 deletions

View File

@ -199,8 +199,8 @@ elif [ $# -eq 1 ] && [ "$1" == "--list-versions" ] ; then
exit 0
elif [ $# -eq 1 ] ; then
found=0
for revision in ${supported_uboot_revisions} ; do
if [ "${revision}" = "$1" ] ; then
for version in ${supported_uboot_versions} ; do
if [ "${version}" = "$1" ] ; then
release_deblobbed_uboot "$1"
release_uboot_blobs_list "$1"
release_uboot_deblob_script "$1"