From e13563622fd3d4460bd0f8cfee02af9be9626819 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 28 Apr 2024 12:44:28 +0200 Subject: [PATCH] env --- cd.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 () {