Added os.chdir() to virtualenv_activate to place us correctly to pick up patch files.
- Legacy-Id: 15583
This commit is contained in:
parent
0e52b30e5b
commit
47c608804b
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue