From 5774113c403444b341100561a8384d554cfa0b71 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 09:19:25 +0200 Subject: [PATCH] switch/index --- spcd/bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 53175ef..c2320ba 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1224,10 +1224,11 @@ spcd_python_write_module() { spcd_wpm__text="${spcd_wpm__text}${spcd_wpm__value} " done + eval "spcd_wpm__index=\$((SPCD_STEP_${SPCD_STEP_LEVEL}_INDEX + 1))" for spcd_wpm__root in \ "${SPCD_PYTHON_PACKAGES}" "${SPCD_PYTHON_VENV_PACKAGES}"; do spcd_os_write "${spcd_wpm__root}/env.py" "${spcd_wpm__text} -SPCD_STEP = $((SPCD_STEP_${SPCD_STEP_LEVEL}_INDEX + 1)) +SPCD_STEP = ${spcd_wpm__index} " done }