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 }