mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
Fix error on docker deploy command with spaces.
This adds quotes to the last eval in _getdeployconf which is reponsible for loading and exporting saved environment variables back into the acme.sh process. This caused some errors if used with the docker deploy-hook and the example nginx "service nginx force-reload" command as it contains spaces.
This commit is contained in:
parent
b73b078705
commit
22f9a3b467
2
acme.sh
2
acme.sh
@ -2166,7 +2166,7 @@ _getdeployconf() {
|
|||||||
return 0 # do nothing
|
return 0 # do nothing
|
||||||
fi
|
fi
|
||||||
_saved=$(_readdomainconf "SAVED_$_rac_key")
|
_saved=$(_readdomainconf "SAVED_$_rac_key")
|
||||||
eval "export $_rac_key=$_saved"
|
eval "export $_rac_key=\"$_saved\""
|
||||||
}
|
}
|
||||||
|
|
||||||
#_saveaccountconf key value base64encode
|
#_saveaccountconf key value base64encode
|
||||||
|
Loading…
Reference in New Issue
Block a user