diff --git a/cd.sh b/cd.sh index 1968ca2..5717dbd 100644 --- a/cd.sh +++ b/cd.sh @@ -75,7 +75,7 @@ function cd_set_environment { [ "${CI_SERVER_URL}" ] && CD_PROJECTS_URL="${CI_SERVER_URL}" [ "${GITHUB_SERVER_URL}" ] && CD_PROJECTS_URL="${GITHUB_SERVER_URL}" if [ "${CD_PROJECTS_URL}" ] ; then - CD_PROJECTS_URL+="/${CD_PROJECTS_GROUP}" + CD_PROJECTS_URL="${CD_PROJECTS_URL}/${CD_PROJECTS_GROUP}" else echo 'CD_PROJECTS_URL' exit 3 @@ -124,7 +124,7 @@ local server local text='' cd_step "${FUNCNAME}" for server in "${@}" ; do - text+="nameserver ${server} + text="${text}nameserver ${server} " done cd_write "${CD_DNS_FILE}" "${text}"