From 746f3968f210102405d58fa3dd5e9c5049ea3336 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 31 Aug 2024 11:00:17 +0200 Subject: [PATCH] switch --- spcd/bootstrap.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 9b0017d..6a57dbc 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1386,13 +1386,14 @@ SPCD_STEP = ${index} spcd_step__python_switch() { spcd_step "Switch" - spcd_stp__name="$(basename "${SPCD_GIT_SPCD}")" - spcd_stp__path="$(realpath "${0}")" + local name path + name="$(basename "${SPCD_GIT_SPCD}")" + path="$(realpath "${0}")" echo "\ -${spcd_stp__path} +${path} ↓ -${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}" - "${SPCD_PYTHON_ALIAS}" -m "${spcd_stp__name}" +${SPCD_PYTHON_ALIAS} / ${name}" + "${SPCD_PYTHON_ALIAS}" -m "${name}" } # ╭──────╮