1.1 --- a/kconfig/lxdialog/check-lxdialog.sh Sat Feb 24 11:00:05 2007 +0000
1.2 +++ b/kconfig/lxdialog/check-lxdialog.sh Wed Oct 29 12:19:34 2008 +0000
1.3 @@ -43,7 +43,7 @@
1.4 # Check if we can link to ncurses
1.5 check() {
1.6 echo "main() {}" | $cc -xc - -o $tmp 2> /dev/null
1.7 - if [ $? != 0 ]; then
1.8 + if [ $? -ne 0 ]; then
1.9 echo " *** Unable to find the ncurses libraries." 1>&2
1.10 echo " *** make menuconfig require the ncurses libraries" 1>&2
1.11 echo " *** " 1>&2
1.12 @@ -57,7 +57,7 @@
1.13 printf "Usage: $0 [-check compiler options|-header|-library]\n"
1.14 }
1.15
1.16 -if [ $# == 0 ]; then
1.17 +if [ $# -eq 0 ]; then
1.18 usage
1.19 exit 1
1.20 fi