kconfig: use POSIX equality test in check-lxdialog.sh
Mike Frysinger [Thu, 24 May 2007 01:37:45 +0000 (21:37 -0400)]
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>

scripts/kconfig/lxdialog/check-lxdialog.sh

index cdca738..9681476 100644 (file)
@@ -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