u-boot-libre: command line parsing: fix comparisons
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
parent
5dae8ea88c
commit
ab1a833ffe
|
@ -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 ] && [ "$1" == "--help" ] ; then
|
elif [ $# -eq 1 ] && [ "$1" = "--help" ] ; then
|
||||||
usage
|
usage
|
||||||
exit 0
|
exit 0
|
||||||
elif [ $# -eq 1 ] && [ "$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
|
||||||
|
|
Loading…
Reference in New Issue