From 8ae11a74fa0206c325a846c8f7607528cac99893 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 9 Jul 2019 21:26:56 -0700 Subject: [PATCH] Move letsencrypt arg to create_args --- ci/testnet-deploy.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index dc884ffb49..ea06fe9f4e 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -259,6 +259,11 @@ if ! $skipCreate; then # shellcheck disable=SC2206 create_args+=(${zone_args[@]}) + if [[ -n $maybeLetsEncrypt ]]; then + # shellcheck disable=SC2206 # Do not want to quote $maybeLetsEncrypt + create_args+=($maybeLetsEncrypt) + fi + if $blockstreamer; then create_args+=(-u) fi @@ -349,10 +354,6 @@ if ! $skipStart; then # shellcheck disable=SC2206 # Do not want to quote $maybeHashesPerTick args+=($maybeHashesPerTick) fi - if [[ -n $maybeLetsEncrypt ]]; then - # shellcheck disable=SC2206 # Do not want to quote $maybeLetsEncrypt - args+=($maybeLetsEncrypt) - fi if $reuseLedger; then args+=(-r) fi