From 5dae8ea88c798fbc3977e814d9f5807ac260c6af Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 2 Aug 2023 23:02:31 +0200 Subject: [PATCH] u-boot-libre: command line parsing: fix [version] Signed-off-by: Denis 'GNUtoo' Carikli --- resources/scripts/build/release/u-boot-libre | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/scripts/build/release/u-boot-libre b/resources/scripts/build/release/u-boot-libre index f42e501..8db32f8 100755 --- a/resources/scripts/build/release/u-boot-libre +++ b/resources/scripts/build/release/u-boot-libre @@ -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"