summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lxdialog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-24 03:37:45 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-07-16 21:15:51 +0200
commite99c343f169cdcb43f1508873a3c9e19ffe4c64a (patch)
treefda45041111b53b92804a8f5e37cfe30e99744b5 /scripts/kconfig/lxdialog
parentscripts: Make cleanfile/cleanpatch warn about long lines (diff)
downloadlinux-e99c343f169cdcb43f1508873a3c9e19ffe4c64a.tar.xz
linux-e99c343f169cdcb43f1508873a3c9e19ffe4c64a.zip
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>
Diffstat (limited to 'scripts/kconfig/lxdialog')
-rw-r--r--scripts/kconfig/lxdialog/check-lxdialog.sh2
1 files changed, 1 insertions, 1 deletions
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