mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-21 20:51:41 +00:00
shell check war warning against unnecessary use of cat
This commit is contained in:
parent
4351110082
commit
6d64098288
@ -93,8 +93,8 @@ proxmoxve_deploy(){
|
||||
# posted to the webserver.
|
||||
cat << HEREDOC > "$_proxmoxve_temp_data_file"
|
||||
{
|
||||
"certificates": "$(cat "$_cfullchain"|tr '\n' ':'|sed 's/:/\\n/g')",
|
||||
"key": "$(cat "$_ckey"|tr '\n' ':'|sed 's/:/\\n/g')",
|
||||
"certificates": "$(tr '\n' ':' < "$_cfullchain" | sed 's/:/\\n/g')",
|
||||
"key": "$(tr '\n' ':' < "$_ckey" |sed 's/:/\\n/g')",
|
||||
"node":"$_node_name",
|
||||
"restart":"1",
|
||||
"force":"1"
|
||||
|
Loading…
Reference in New Issue
Block a user