Explorar el Código

use POSIX -eq rather than bash == #1360

Mike Frysinger hace 19 años
padre
commit
3cf0739274
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      extra/config/lxdialog/check-lxdialog.sh

+ 1 - 1
extra/config/lxdialog/check-lxdialog.sh

@@ -57,7 +57,7 @@ usage() {
 	printf "Usage: $0 [-check compiler options|-header|-library]\n"
 }
 
-if [ $# == 0 ]; then
+if [ $# -eq 0 ]; then
 	usage
 	exit 1
 fi