diff options
| author | sigoden <sigoden@gmail.com> | 2024-11-25 06:44:52 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-25 06:44:52 +0800 |
| commit | 4e0c6e752d1cf10cd30d67a6e6a1af21a601ae79 (patch) | |
| tree | 94d1838acfd320aaf1807ffe36b60eb102c7781b | |
| parent | 6c621a677dc8205c841711c4071b3fcd3366b1a7 (diff) | |
| download | llm-functions-docker-4e0c6e752d1cf10cd30d67a6e6a1af21a601ae79.tar.gz | |
fix: python virtualenv (#128)
| -rw-r--r-- | Argcfile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Argcfile.sh b/Argcfile.sh index a84464a..c21936d 100644 --- a/Argcfile.sh +++ b/Argcfile.sh @@ -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 |
