mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-07-02 03:34:13 +00:00
added double quoting as suggested by shellcheck
This commit is contained in:
parent
b2f2b5e3e0
commit
309f6618b0
@ -41,10 +41,10 @@ weechat_deploy() {
|
|||||||
_info "WEECHAT_PEM not set, defaulting to ${HOME}/.weechat/ssl/relay.pem"
|
_info "WEECHAT_PEM not set, defaulting to ${HOME}/.weechat/ssl/relay.pem"
|
||||||
WEECHAT_PEM="${HOME}/.weechat/ssl/relay.pem"
|
WEECHAT_PEM="${HOME}/.weechat/ssl/relay.pem"
|
||||||
fi
|
fi
|
||||||
if [ -w $WEECHAT_PEM ]; then
|
if [ -w "$WEECHAT_PEM" ]; then
|
||||||
_info "$WEECHAT_PEM exists and is writable, backing up and overwriting"
|
_info "$WEECHAT_PEM exists and is writable, backing up and overwriting"
|
||||||
cp $WEECHAT_PEM $WEECHAT_PEM.bak
|
cp "$WEECHAT_PEM" "$WEECHAT_PEM.bak"
|
||||||
cat $_ckey $_cfullchain >$WEECHAT_PEM
|
cat "$_ckey" "$_cfullchain" >"$WEECHAT_PEM"
|
||||||
_info "Deployed $_cdomain to weechat"
|
_info "Deployed $_cdomain to weechat"
|
||||||
_debug "Attempting to issue /relay sslcertky to weechat via fifo"
|
_debug "Attempting to issue /relay sslcertky to weechat via fifo"
|
||||||
for fifo in $WEECHAT_HOME/weechat_fifo_*; do
|
for fifo in $WEECHAT_HOME/weechat_fifo_*; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user