mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix: correct a mistake done when fixing shellcheck lints
- we must not exit right away if sourcing fails - recreate the venv only if the source fails
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
# Run benchmarks while logging the intermediate results
|
||||
# Publish findings in the progress tracker
|
||||
|
||||
set -e
|
||||
set +e
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
if source /src/.docker_venv/bin/activate; then
|
||||
if ! source /src/.docker_venv/bin/activate; then
|
||||
python3 -m venv /src/.docker_venv
|
||||
# shellcheck disable=SC1091
|
||||
source /src/.docker_venv/bin/activate
|
||||
|
||||
Reference in New Issue
Block a user