mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 20:32:44 +00:00
Fix POSIX shell portability
POSIX standard says test command has '=" as for checking identical. '==' is bash dialect. Replace '==' with '='. See: https://pubs.opengroup.org/onlinepubs/009604399/utilities/test.html
This commit is contained in:
parent
5c78a5e4fe
commit
838a20ea95
2
acme.sh
2
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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user