fix: python virtualenv (#128)

This commit is contained in:
sigoden authored and GitHub committed 2024-11-25 06:44:52 +08:00
1 parent 6c621a677d
commit 4e0c6e752d
1 file changed
+1 -1
+1 -1
View File
@@ -578,7 +578,7 @@ _build_py_shim() {
#!/usr/bin/env bash
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"
fi