mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 22:37:29 +00:00
fix(env): unset cached env vars before reload and guard commit test against dirty worktree
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
434aa81ee2
commit
e84bb3fe06
5 files changed
+52
No files matched your search
@@ -5,6 +5,8 @@ set -euo pipefail
|
||||
if [[ -n "${VENV:-}" && -x "${VENV}/bin/python" && "${PYTHON:-}" != "${VENV}/bin/python" ]]; then
|
||||
unset INFINITO_ENV_LOADED
|
||||
unset INFINITO_ENV_PYTHON_LOADED
|
||||
unset PYTHON
|
||||
unset PIP
|
||||
# shellcheck source=scripts/meta/env/all.sh
|
||||
source "${ENV_SH:-scripts/meta/env/all.sh}"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user