Added os.chdir() to virtualenv_activate to place us correctly to pick up patch files.

- Legacy-Id: 15583
This commit is contained in:
Henrik Levkowetz 2018-10-15 19:27:24 +00:00
parent 0e52b30e5b
commit 47c608804b

View file

@ -5,6 +5,9 @@ import sys
path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# change directory so patches etc. will be picked up as expected
os.chdir(path)
# Virtualenv support
virtualenv_activation = os.path.join(path, "env", "bin", "activate_this.py")
if os.path.exists(virtualenv_activation):