switch/path
This commit is contained in:
parent
428d6aebf4
commit
5d34df1bfe
1 changed files with 2 additions and 4 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue