parent
74bfd6ba1c
commit
fd7230ebe3
2 changed files with 6 additions and 9 deletions
12
cd.sh
12
cd.sh
|
@ -565,12 +565,12 @@ cd_execute_python_module () {
|
|||
local path
|
||||
cd_step "Execute Python module"
|
||||
#
|
||||
path="${CD_PYTHON_PACKAGES}/env.py"
|
||||
cd_echo \
|
||||
"CD_OS_ID" "CD_OS_VERSION" \
|
||||
"CD_SPLIT" \
|
||||
> "${path}" || exit
|
||||
cd_cat "${path}"
|
||||
cd_write "${CD_PYTHON_PACKAGES}/env.py" "$(cd_echo \
|
||||
CD_OS_ID CD_OS_VERSION \
|
||||
CD_SPLIT \
|
||||
)"
|
||||
#
|
||||
cd_split
|
||||
#
|
||||
path="$(realpath "${0}")"
|
||||
echo -n "\
|
||||
|
|
|
@ -3,9 +3,6 @@ import os
|
|||
from cd.project import Project
|
||||
from cd.projects import Projects
|
||||
import env
|
||||
print(env.CD_OS_ID)
|
||||
print(env.CD_SPLIT)
|
||||
print(env.CD_OS_VERSION)
|
||||
from rwx import fs
|
||||
from rwx import ps
|
||||
|
||||
|
|
Loading…
Reference in a new issue