parent
12d8ae4269
commit
9b4f908513
1 changed files with 2 additions and 2 deletions
4
cd.sh
4
cd.sh
|
@ -75,7 +75,7 @@ function cd_set_environment {
|
||||||
[ "${CI_SERVER_URL}" ] && CD_PROJECTS_URL="${CI_SERVER_URL}"
|
[ "${CI_SERVER_URL}" ] && CD_PROJECTS_URL="${CI_SERVER_URL}"
|
||||||
[ "${GITHUB_SERVER_URL}" ] && CD_PROJECTS_URL="${GITHUB_SERVER_URL}"
|
[ "${GITHUB_SERVER_URL}" ] && CD_PROJECTS_URL="${GITHUB_SERVER_URL}"
|
||||||
if [ "${CD_PROJECTS_URL}" ] ; then
|
if [ "${CD_PROJECTS_URL}" ] ; then
|
||||||
CD_PROJECTS_URL+="/${CD_PROJECTS_GROUP}"
|
CD_PROJECTS_URL="${CD_PROJECTS_URL}/${CD_PROJECTS_GROUP}"
|
||||||
else
|
else
|
||||||
echo 'CD_PROJECTS_URL'
|
echo 'CD_PROJECTS_URL'
|
||||||
exit 3
|
exit 3
|
||||||
|
@ -124,7 +124,7 @@ local server
|
||||||
local text=''
|
local text=''
|
||||||
cd_step "${FUNCNAME}"
|
cd_step "${FUNCNAME}"
|
||||||
for server in "${@}" ; do
|
for server in "${@}" ; do
|
||||||
text+="nameserver ${server}
|
text="${text}nameserver ${server}
|
||||||
"
|
"
|
||||||
done
|
done
|
||||||
cd_write "${CD_DNS_FILE}" "${text}"
|
cd_write "${CD_DNS_FILE}" "${text}"
|
||||||
|
|
Loading…
Reference in a new issue