diff --git a/cd.sh b/cd.sh index 15756bc..e054636 100644 --- a/cd.sh +++ b/cd.sh @@ -29,6 +29,7 @@ cd_main () { cd_set_environment () { cd_step "Set environment" CD_DNS_FILE="/etc/resolv.conf" + # case "${CD_OS_NAME}" in "debian") CD_PYTHON_COMMAND="python3" @@ -84,6 +85,22 @@ cd_set_environment () { fi # project / url CD_PROJECT_URL="${CD_PROJECTS_URL}/${CD_PROJECT_NAME}" + # + echo -n "\ +CD_OS_NAME=${CD_OS_NAME} +CD_OS_VERSION=${CD_OS_VERSION} +# +CD_DNS_FILE=${CD_DNS_FILE} +# +CD_PYTHON_COMMAND=${CD_PYTHON_COMMAND} +CD_PYTHON_PACKAGES=${CD_PYTHON_PACKAGES} +# +CD_PROJECT_BRANCH=${CD_PROJECT_BRANCH} +CD_PROJECT_NAME=${CD_PROJECT_NAME} +CD_PROJECT_URL=${CD_PROJECT_URL} +CD_PROJECTS_GROUP=${CD_PROJECTS_GROUP} +CD_PROJECTS_URL=${CD_PROJECTS_URL} +" } cd_set_dns_resolving () {