]> err.no Git - linux-2.6/commitdiff
kconfig: use POSIX equality test in check-lxdialog.sh
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 May 2007 01:37:45 +0000 (21:37 -0400)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 16 Jul 2007 19:15:51 +0000 (21:15 +0200)
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 cdca7388e0f1f982ae0a05994bbb7e22a6ef74b0..9681476b96e7fcf371840d78e17aa85657d327a1 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