Browse Source

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>
Mike Frysinger 18 years ago
parent
commit
e99c343f16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/kconfig/lxdialog/check-lxdialog.sh

+ 1 - 1
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