Browse Source

tls mk cert script: typo fix

Andrei Pelinescu-Onciul 16 years ago
parent
commit
8205f043c4
2 changed files with 4 additions and 4 deletions
  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
 getopt -T >/dev/null
-if [ $? == 4 ]; then
+if [ $? = 4 ]; then
 	LONGOPTS_SUPPORTED=1
 fi
 
 longopts() {
-	if [ -z "${LONGOPTS_SUPPORTED}"]; then
+	if [ -z "${LONGOPTS_SUPPORTED}" ]; then
 		exit;
 	fi
 	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
 getopt -T >/dev/null
-if [ $? == 4 ]; then
+if [ $? = 4 ]; then
 	LONGOPTS_SUPPORTED=1
 fi
 
 longopts() {
-	if [ -z "${LONGOPTS_SUPPORTED}"]; then
+	if [ -z "${LONGOPTS_SUPPORTED}" ]; then
 		exit;
 	fi
 	case "$1" in