kconfig: use POSIX equality test in check-lxdialog.sh

The "==" operator is not in POSIX, so use -eq instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Mike Frysinger 2007-05-23 21:37:45 -04:00 committed by Sam Ravnborg
parent cb3ed5b7e0
commit e99c343f16

View file

@ -51,7 +51,7 @@ usage() {
printf "Usage: $0 [-check compiler options|-header|-library]\n" printf "Usage: $0 [-check compiler options|-header|-library]\n"
} }
if [ $# == 0 ]; then if [ $# -eq 0 ]; then
usage usage
exit 1 exit 1
fi fi