From ea7d51329350b2a6f303390e4944f33a20a32fe8 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 2 Aug 2023 22:59:09 +0200 Subject: [PATCH] u-boot-libre: command line parsing: fix tests 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 a871aab..f42e501 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 -a "$1" == "--help" ] ; then +elif [ $# -eq 1 ] && [ "$1" == "--help" ] ; then usage exit 0 -elif [ $# -eq 1 -a "$1" == "--list-versions" ] ; then +elif [ $# -eq 1 ] && [ "$1" == "--list-versions" ] ; then for version in ${supported_uboot_versions} ; do printf "${version}\n" done