mirror of
https://github.com/ilyakooo0/searx.git
synced 2024-11-29 10:42:18 +03:00
[fix] exit on failure of creating environment to avoid endless loop in this case
This commit is contained in:
parent
f7706a5c7f
commit
4828faaa07
@ -559,8 +559,8 @@ pyenv() {
|
|||||||
pyenv.drop > /dev/null
|
pyenv.drop > /dev/null
|
||||||
build_msg PYENV "[virtualenv] installing ${PY_ENV_REQ} into ${PY_ENV}"
|
build_msg PYENV "[virtualenv] installing ${PY_ENV_REQ} into ${PY_ENV}"
|
||||||
|
|
||||||
"${PYTHON}" -m venv "$@" "${PY_ENV}"
|
"${PYTHON}" -m venv "$@" "${PY_ENV}" || exit
|
||||||
"${PY_ENV_BIN}/python" -m pip install -U "${PIP_BOILERPLATE[@]}"
|
"${PY_ENV_BIN}/python" -m pip install -U "${PIP_BOILERPLATE[@]}" || exit
|
||||||
|
|
||||||
for i in ${PY_ENV_REQ}; do
|
for i in ${PY_ENV_REQ}; do
|
||||||
pip_req=( "${pip_req[@]}" "-r" "$i" )
|
pip_req=( "${pip_req[@]}" "-r" "$i" )
|
||||||
|
Loading…
Reference in New Issue
Block a user