switch/path

This commit is contained in:
Marc Beninca 2024-08-26 17:02:59 +02:00
parent 428d6aebf4
commit 5d34df1bfe
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -514,9 +514,6 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
#
spcd_os_printenv "SPCD_PROJECT_BRANCH" \
"SPCD_PROJECT_ROOT" "SPCD_PROJECT_PATH" "SPCD_PROJECT_NAME"
# set path
SPCD_PATH="$(realpath "${0}")"
spcd_os_printenv "SPCD_PATH"
# set operating system id
SPCD_OS_ID="$(spcd_os_grep ID)"
case "${SPCD_OS_ID}" in
@ -1223,8 +1220,9 @@ SPCD_STEP = ${spcd_wpm__index}
spcd_python_switch() {
spcd_step "Switch"
spcd_stp__name="$(basename "${SPCD_GIT_MAIN}")"
spcd_stp__path="$(realpath "${0}")"
echo "\
${SPCD_PATH}
${spcd_stp__path}
${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
"${SPCD_PYTHON_ALIAS}" -m "${spcd_stp__name}"