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

View file

@ -2,6 +2,10 @@ import os
from cd.project import Project from cd.project import Project
from cd.projects import Projects 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 fs
from rwx import ps from rwx import ps