From ab1a833ffe04adba0e2e8cc8446d6d1f33e71c4b Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 2 Aug 2023 23:05:20 +0200 Subject: [PATCH] u-boot-libre: command line parsing: fix comparisons 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 8db32f8..a7fde05 100755 --- a/resources/scripts/build/release/u-boot-libre +++ b/resources/scripts/build/release/u-boot-libre @@ -189,10 +189,10 @@ if [ $# -eq 0 ] ; then print_release_files "${version}" done exit 0 -elif [ $# -eq 1 ] && [ "$1" == "--help" ] ; then +elif [ $# -eq 1 ] && [ "$1" = "--help" ] ; then usage exit 0 -elif [ $# -eq 1 ] && [ "$1" == "--list-versions" ] ; then +elif [ $# -eq 1 ] && [ "$1" = "--list-versions" ] ; then for version in ${supported_uboot_versions} ; do printf "${version}\n" done