From aed6978d745960b1ac742603685240fda6a310bc Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 7 Aug 2024 20:00:03 +0200 Subject: [PATCH] write env module in both system & venv --- spcd.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spcd.sh b/spcd.sh index aaf4f05..e105c3c 100644 --- a/spcd.sh +++ b/spcd.sh @@ -781,9 +781,12 @@ spcd_write_python_module() { spcd_wpm__text="${spcd_wpm__text}${spcd_wpm__value} " done - spcd_write "${SPCD_PYTHON_PACKAGES}/env.py" "${spcd_wpm__text} + for spcd_wpm__root in \ + "${SPCD_PYTHON_PACKAGES}" "${SPCD_PYTHON_VENV_PACKAGES}"; do + spcd_write "${spcd_wpm__root}/env.py" "${spcd_wpm__text} SPCD_STEP = $((SPCD_STEP + 1)) " + done } spcd_switch_to_python() {