mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 10:48:01 +02:00
Update run-in-env.sh (#36577)
This commit is contained in:
committed by
Davide Varricchio
parent
a991d6f131
commit
53acc1b41e
@ -9,9 +9,11 @@ if [ -s .python-version ]; then
|
||||
fi
|
||||
|
||||
# other common virtualenvs
|
||||
my_path=$(git rev-parse --show-toplevel)
|
||||
|
||||
for venv in venv .venv .; do
|
||||
if [ -f $venv/bin/activate ]; then
|
||||
. $venv/bin/activate
|
||||
if [ -f "${my_path}/${venv}/bin/activate" ]; then
|
||||
. "${my_path}/${venv}/bin/activate"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user