diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-23 21:37:45 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-07-16 21:15:51 +0200 |
commit | e99c343f169cdcb43f1508873a3c9e19ffe4c64a (patch) | |
tree | fda45041111b53b92804a8f5e37cfe30e99744b5 /scripts | |
parent | cb3ed5b7e09c6c0462e396d55e3fecc0980a333a (diff) | |
download | linux-stable-e99c343f169cdcb43f1508873a3c9e19ffe4c64a.tar.gz linux-stable-e99c343f169cdcb43f1508873a3c9e19ffe4c64a.tar.bz2 linux-stable-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')
-rw-r--r-- | scripts/kconfig/lxdialog/check-lxdialog.sh | 2 |
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 |