mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 18:42:44 +00:00
Quoted argoments in sftp heredoc
This commit is contained in:
parent
55f5131ee5
commit
adf66cb8c1
@ -118,10 +118,10 @@ sftp_deploy() {
|
|||||||
for _sftp_host in $_sftp_hosts ; do
|
for _sftp_host in $_sftp_hosts ; do
|
||||||
sftp "$_sftp_host"\
|
sftp "$_sftp_host"\
|
||||||
<<EOF
|
<<EOF
|
||||||
put $_ckey $_ckey_path
|
put "$_ckey" "$_ckey_path"
|
||||||
put $_ccert $_ccert_path
|
put "$_ccert" "$_ccert_path"
|
||||||
put $_cca $_cca_path
|
put "$_cca" "$_cca_path"
|
||||||
put $_cfullchain $_cfullchain_path
|
put "$_cfullchain" "$_cfullchain_path"
|
||||||
EOF
|
EOF
|
||||||
_sftp_error="$?"
|
_sftp_error="$?"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user