From: Mike Frysinger Date: Thu, 24 May 2007 01:37:45 +0000 (-0400) Subject: kconfig: use POSIX equality test in check-lxdialog.sh X-Git-Tag: MMI-PSA29.97-13-9~41446^2~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e99c343f169cdcb43f1508873a3c9e19ffe4c64a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git kconfig: use POSIX equality test in check-lxdialog.sh The "==" operator is not in POSIX, so use -eq instead. Signed-off-by: Mike Frysinger Signed-off-by: Sam Ravnborg --- diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh index cdca7388e0f1..9681476b96e7 100644 --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/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