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>
master
Mike Frysinger 16 years ago committed by Sam Ravnborg
parent cb3ed5b7e0
commit e99c343f16
  1. 2
      scripts/kconfig/lxdialog/check-lxdialog.sh

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

Loading…
Cancel
Save