u-boot-libre: command line parsing: fix tests

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

View File

@ -189,10 +189,10 @@ if [ $# -eq 0 ] ; then
print_release_files "${version}" print_release_files "${version}"
done done
exit 0 exit 0
elif [ $# -eq 1 -a "$1" == "--help" ] ; then elif [ $# -eq 1 ] && [ "$1" == "--help" ] ; then
usage usage
exit 0 exit 0
elif [ $# -eq 1 -a "$1" == "--list-versions" ] ; then elif [ $# -eq 1 ] && [ "$1" == "--list-versions" ] ; then
for version in ${supported_uboot_versions} ; do for version in ${supported_uboot_versions} ; do
printf "${version}\n" printf "${version}\n"
done done