mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-10 00:52:10 +08:00
trim quotation marks
This commit is contained in:
7
acme.sh
7
acme.sh
@@ -2088,7 +2088,12 @@ _savedeployconf() {
|
||||
#key
|
||||
_getdeployconf() {
|
||||
_rac_key="$1"
|
||||
if [ "$(eval echo \$"$_rac_key")" ]; then
|
||||
_rac_value="$(eval echo \$"$_rac_key")"
|
||||
if [ "$_rac_value" ]; then
|
||||
if _startswith "$_rac_value" '"' && _endswith "$_rac_value" '"'; then
|
||||
_debug2 "trim quotation marks"
|
||||
eval "export $_rac_key=$_rac_value"
|
||||
fi
|
||||
return 0 # do nothing
|
||||
fi
|
||||
_saved=$(_readdomainconf "SAVED_$_rac_key")
|
||||
|
||||
Reference in New Issue
Block a user