mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Update run-in-env.sh (#36577)
This commit is contained in:
parent
1d01a5ed7b
commit
b916eb6cf2
@ -9,10 +9,12 @@ if [ -s .python-version ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# other common virtualenvs
|
# other common virtualenvs
|
||||||
|
my_path=$(git rev-parse --show-toplevel)
|
||||||
|
|
||||||
for venv in venv .venv .; do
|
for venv in venv .venv .; do
|
||||||
if [ -f $venv/bin/activate ]; then
|
if [ -f "${my_path}/${venv}/bin/activate" ]; then
|
||||||
. $venv/bin/activate
|
. "${my_path}/${venv}/bin/activate"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user