diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-23 21:37:45 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-07-16 15:15:51 -0400 |
commit | e99c343f169cdcb43f1508873a3c9e19ffe4c64a (patch) | |
tree | fda45041111b53b92804a8f5e37cfe30e99744b5 /scripts/kconfig | |
parent | cb3ed5b7e09c6c0462e396d55e3fecc0980a333a (diff) |
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')
-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() { | |||
51 | printf "Usage: $0 [-check compiler options|-header|-library]\n" | 51 | printf "Usage: $0 [-check compiler options|-header|-library]\n" |
52 | } | 52 | } |
53 | 53 | ||
54 | if [ $# == 0 ]; then | 54 | if [ $# -eq 0 ]; then |
55 | usage | 55 | usage |
56 | exit 1 | 56 | exit 1 |
57 | fi | 57 | fi |