inject/test
Some checks failed
/ job (push) Failing after 6m29s

This commit is contained in:
Marc Beninca 2024-06-03 03:36:56 +02:00
parent 4e9afd7e5d
commit 7e7fc52d54
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 11 additions and 1 deletions

8
cd.sh
View file

@ -564,6 +564,12 @@ ${CD_PYTHON_PACKAGES}
cd_execute_python_module () {
local self
cd_step "Execute Python module"
#
cd_echo \
"CD_OS_ID" "CD_OS_VERSION" \
"CD_SPLIT" \
> "${CD_PYTHON_PACKAGES}/env.py"
#
self="$(realpath "${0}")"
echo -n "\
${self}
@ -586,7 +592,7 @@ cd_echo () {
local name
if [ "${1}" ] ; then
for name in "${@}" ; do
eval "echo ${name}=\${${name}}"
eval "echo ${name} = '\${${name}}'"
done
fi
}

View file

@ -2,6 +2,10 @@ import os
from cd.project import Project
from cd.projects import Projects
import env
print(CD_OS_ID)
print(CD_SPLIT)
print(CD_OS_VERSION)
from rwx import fs
from rwx import ps