From: neil Date: Tue, 24 Jan 2023 07:17:21 +0000 (+0800) Subject: fix https://github.com/acmesh-official/acme.sh/issues/4470 X-Git-Tag: 3.0.6~10^2~13 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bf50fce5bd2bcd58582e6768350de96aeb881d90;p=mirror_acme.sh.git fix https://github.com/acmesh-official/acme.sh/issues/4470 --- diff --git a/acme.sh b/acme.sh index d8a46a6f..7683495b 100755 --- a/acme.sh +++ b/acme.sh @@ -2386,12 +2386,14 @@ _getdeployconf() { if [ "$_rac_value" ]; then if _startswith "$_rac_value" '"' && _endswith "$_rac_value" '"'; then _debug2 "trim quotation marks" - eval "export $_rac_key=$_rac_value" + eval $_rac_key=$_rac_value + export $_rac_key fi return 0 # do nothing fi - _saved=$(_readdomainconf "SAVED_$_rac_key") - eval "export $_rac_key=\"\$_saved\"" + _saved="$(_readdomainconf "SAVED_$_rac_key")" + eval $_rac_key="$_saved" + export $_rac_key } #_saveaccountconf key value base64encode