diff -r eeea35fbf182 -r 607277e3cdab kconfig/lxdialog/check-lxdialog.sh --- a/kconfig/lxdialog/check-lxdialog.sh Sat Feb 24 11:00:05 2007 +0000 +++ b/kconfig/lxdialog/check-lxdialog.sh Tue Jul 22 09:16:07 2008 +0000 @@ -43,7 +43,7 @@ # Check if we can link to ncurses check() { echo "main() {}" | $cc -xc - -o $tmp 2> /dev/null - if [ $? != 0 ]; then + if [ $? -ne 0 ]; then echo " *** Unable to find the ncurses libraries." 1>&2 echo " *** make menuconfig require the ncurses libraries" 1>&2 echo " *** " 1>&2 @@ -57,7 +57,7 @@ printf "Usage: $0 [-check compiler options|-header|-library]\n" } -if [ $# == 0 ]; then +if [ $# -eq 0 ]; then usage exit 1 fi