overlay_setup(): use passed value of repo_root

This commit is contained in:
The MMGen Project 2021-10-05 11:57:34 +00:00
commit 554670b713
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
7 changed files with 7 additions and 8 deletions

View file

@ -19,7 +19,7 @@ def exec_wrapper_init(): # don't change: name is used to test if script is runni
sys.path[0] = 'test'
else:
from test.overlay import overlay_setup
sys.path[0] = overlay_setup()
sys.path[0] = overlay_setup(repo_root=os.getcwd()) # assume we're in the repo root
os.environ['MMGEN_TRACEBACK'] = '1'
os.environ['PYTHONPATH'] = '.'