[wgem] adding environment node the path beginning

This commit is contained in:
Vinícius Moreira
2019-12-17 13:18:55 -03:00
parent b4d3a48112
commit 571acc45dd

View File

@@ -37,7 +37,7 @@ def gen_env(global_interpreter: bool, lang: str = DEFAULT_LANG, extra_paths: Set
res['PATH'] = PATH
if extra_paths:
res['PATH'] += ':' + ':'.join(extra_paths)
res['PATH'] = ':'.join(extra_paths) + ':' + res['PATH']
return res