Browse Source

fix additional space in variable check for emtpyness

pull/981/head
Holger Böhnke 8 years ago
parent
commit
4de3e6d70d
  1. 2
      deploy/scp.sh

2
deploy/scp.sh

@ -117,7 +117,7 @@ scp_deploy() {
_SCP_check_params() {
# at least one of key, cert or fullchain must be set
if [ -z "$DEPLOY_SCP_KEY_TARGET" ] && [ -z "$DEPLOY_SCP_CERT_TARGET" ] && [ -z "$DEPLOY_SCP_FULLCHAIN_TARGET " ]; then
if [ -z "$DEPLOY_SCP_KEY_TARGET" ] && [ -z "$DEPLOY_SCP_CERT_TARGET" ] && [ -z "$DEPLOY_SCP_FULLCHAIN_TARGET" ]; then
DEPLOY_SCP_CA_TARGET=""
DEPLOY_SCP_KEY_TARGET=""
DEPLOY_SCP_CERT_TARGET=""

Loading…
Cancel
Save