fix: python virtualenv (#128)

This commit is contained in:
sigoden
2024-11-25 06:44:52 +08:00
committed by GitHub
parent 6c621a677d
commit 4e0c6e752d
+1 -1
View File
@@ -578,7 +578,7 @@ _build_py_shim() {
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
if [[ -d "__ROOT_DIR__/__VENV_DIR__/bin/activate" ]]; then if [[ -f "__ROOT_DIR__/__VENV_DIR__/bin/activate" ]]; then
source "__ROOT_DIR__/__VENV_DIR__/bin/activate" source "__ROOT_DIR__/__VENV_DIR__/bin/activate"
fi fi