mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Fix run-in-env script for not running in venv (#117961)
This commit is contained in:
parent
cd14d9b0e3
commit
fc4ea774ca
@ -13,7 +13,7 @@ if [ -s .python-version ]; then
|
|||||||
export PYENV_VERSION
|
export PYENV_VERSION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${VIRTUAL_ENV}" ] && [ -f "${VIRTUAL_ENV}/bin/activate" ]; then
|
if [ -n "${VIRTUAL_ENV-}" ] && [ -f "${VIRTUAL_ENV}/bin/activate" ]; then
|
||||||
. "${VIRTUAL_ENV}/bin/activate"
|
. "${VIRTUAL_ENV}/bin/activate"
|
||||||
else
|
else
|
||||||
# other common virtualenvs
|
# other common virtualenvs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user