OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3ed5b
)
kconfig: use POSIX equality test in check-lxdialog.sh
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 24 May 2007 01:37:45 +0000
(21:37 -0400)
committer
Sam 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
patch
|
blob
|
history
diff --git
a/scripts/kconfig/lxdialog/check-lxdialog.sh
b/scripts/kconfig/lxdialog/check-lxdialog.sh
index
cdca738
..
9681476
100644
(file)
--- 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