Browse Source

Merge pull request #5374 from ryoon/posix-shell-portability

Fix POSIX shell portability
neil 1 year ago
parent
commit
a00323412b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -1442,7 +1442,7 @@ _toPkcs() {
   else
   else
     ${ACME_OPENSSL_BIN:-openssl} pkcs12 -export -out "$_cpfx" -inkey "$_ckey" -in "$_ccert" -certfile "$_cca"
     ${ACME_OPENSSL_BIN:-openssl} pkcs12 -export -out "$_cpfx" -inkey "$_ckey" -in "$_ccert" -certfile "$_cca"
   fi
   fi
-  if [ "$?" == "0" ]; then
+  if [ "$?" = "0" ]; then
     _savedomainconf "Le_PFXPassword" "$pfxPassword"
     _savedomainconf "Le_PFXPassword" "$pfxPassword"
   fi
   fi