fixes
All checks were successful
/ job (push) Successful in 5m26s

This commit is contained in:
Marc Beninca 2024-06-03 04:14:37 +02:00
parent 619f2eea86
commit 74bfd6ba1c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 9 additions and 7 deletions

10
cd.sh
View file

@ -562,17 +562,19 @@ ${CD_PYTHON_PACKAGES}
}
cd_execute_python_module () {
local self
local path
cd_step "Execute Python module"
#
path="${CD_PYTHON_PACKAGES}/env.py"
cd_echo \
"CD_OS_ID" "CD_OS_VERSION" \
"CD_SPLIT" \
> "${CD_PYTHON_PACKAGES}/env.py"
> "${path}" || exit
cd_cat "${path}"
#
self="$(realpath "${0}")"
path="$(realpath "${0}")"
echo -n "\
${self}
${path}
${CD_GIT_CHILD}
"

View file

@ -3,9 +3,9 @@ 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)
print(env.CD_OS_ID)
print(env.CD_SPLIT)
print(env.CD_OS_VERSION)
from rwx import fs
from rwx import ps