kconfig: use POSIX equality test in check-lxdialog.sh
[firefly-linux-kernel-4.4.55.git] / scripts / kconfig / lxdialog / check-lxdialog.sh
index cdca7388e0f1f982ae0a05994bbb7e22a6ef74b0..9681476b96e7fcf371840d78e17aa85657d327a1 100644 (file)
@@ -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