update
This commit is contained in:
3
scripts/update_and_predict.sh
Executable file → Normal file
3
scripts/update_and_predict.sh
Executable file → Normal file
@@ -3,6 +3,9 @@ set -euo pipefail
|
||||
|
||||
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
PYTHON_BIN="$REPO_ROOT/.venv/bin/python"
|
||||
if [[ ! -x "$PYTHON_BIN" && -x "$REPO_ROOT/.venv/Scripts/python.exe" ]]; then
|
||||
PYTHON_BIN="$REPO_ROOT/.venv/Scripts/python.exe"
|
||||
fi
|
||||
|
||||
if [[ ! -x "$PYTHON_BIN" ]]; then
|
||||
printf 'missing virtualenv Python: %s\n' "$PYTHON_BIN" >&2
|
||||
|
||||
Reference in New Issue
Block a user