local_run: Allow customizing where the modules are
This commit is contained in:
parent
5f954e6f46
commit
da611a08f8
1 changed files with 2 additions and 1 deletions
|
|
@ -26,8 +26,9 @@ env['WEBOOB_BACKENDS'] = os.getenv('WEBOOB_LOCAL_BACKENDS',
|
|||
os.getenv('WEBOOB_BACKENDS',
|
||||
os.path.expanduser('~/.config/weboob/backends')))
|
||||
|
||||
modpath = os.getenv('WEBOOB_MODULES', os.path.join(project, 'modules'))
|
||||
with open(os.path.join(wd, 'sources.list'), 'w') as f:
|
||||
f.write("file://%s\n" % os.path.join(project, 'modules'))
|
||||
f.write("file://%s\n" % modpath)
|
||||
|
||||
# Hide output unless there is an error
|
||||
p = subprocess.Popen(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue