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
|
local path
|
||||||
cd_step "Execute Python module"
|
cd_step "Execute Python module"
|
||||||
#
|
#
|
||||||
path="${CD_PYTHON_PACKAGES}/env.py"
|
cd_write "${CD_PYTHON_PACKAGES}/env.py" "$(cd_echo \
|
||||||
cd_echo \
|
CD_OS_ID CD_OS_VERSION \
|
||||||
"CD_OS_ID" "CD_OS_VERSION" \
|
CD_SPLIT \
|
||||||
"CD_SPLIT" \
|
)"
|
||||||
> "${path}" || exit
|
#
|
||||||
cd_cat "${path}"
|
cd_split
|
||||||
#
|
#
|
||||||
path="$(realpath "${0}")"
|
path="$(realpath "${0}")"
|
||||||
echo -n "\
|
echo -n "\
|
||||||
|
|
|
@ -3,9 +3,6 @@ import os
|
||||||
from cd.project import Project
|
from cd.project import Project
|
||||||
from cd.projects import Projects
|
from cd.projects import Projects
|
||||||
import env
|
import env
|
||||||
print(env.CD_OS_ID)
|
|
||||||
print(env.CD_SPLIT)
|
|
||||||
print(env.CD_OS_VERSION)
|
|
||||||
from rwx import fs
|
from rwx import fs
|
||||||
from rwx import ps
|
from rwx import ps
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue