Bläddra i källkod

tls mk cert script: typo fix

Andrei Pelinescu-Onciul 16 år sedan
förälder
incheckning
8205f043c4
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      modules/tls/sip-router_cert.sh
  2. 2 2
      modules_s/tls/ser_cert.sh

+ 2 - 2
modules/tls/sip-router_cert.sh

@@ -28,12 +28,12 @@ MAILNAME=`cat /etc/mailname 2> /dev/null || echo $FQDN`
 
 
 # test if we have the normal or enhanced getopt
 # test if we have the normal or enhanced getopt
 getopt -T >/dev/null
 getopt -T >/dev/null
-if [ $? == 4 ]; then
+if [ $? = 4 ]; then
 	LONGOPTS_SUPPORTED=1
 	LONGOPTS_SUPPORTED=1
 fi
 fi
 
 
 longopts() {
 longopts() {
-	if [ -z "${LONGOPTS_SUPPORTED}"]; then
+	if [ -z "${LONGOPTS_SUPPORTED}" ]; then
 		exit;
 		exit;
 	fi
 	fi
 	case "$1" in
 	case "$1" in

+ 2 - 2
modules_s/tls/ser_cert.sh

@@ -28,12 +28,12 @@ MAILNAME=`cat /etc/mailname 2> /dev/null || echo $FQDN`
 
 
 # test if we have the normal or enhanced getopt
 # test if we have the normal or enhanced getopt
 getopt -T >/dev/null
 getopt -T >/dev/null
-if [ $? == 4 ]; then
+if [ $? = 4 ]; then
 	LONGOPTS_SUPPORTED=1
 	LONGOPTS_SUPPORTED=1
 fi
 fi
 
 
 longopts() {
 longopts() {
-	if [ -z "${LONGOPTS_SUPPORTED}"]; then
+	if [ -z "${LONGOPTS_SUPPORTED}" ]; then
 		exit;
 		exit;
 	fi
 	fi
 	case "$1" in
 	case "$1" in