From 571acc45ddbe2586ad9fa3b351bc8c849aab77ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Tue, 17 Dec 2019 13:18:55 -0300 Subject: [PATCH] [wgem] adding environment node the path beginning --- bauh/commons/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/commons/system.py b/bauh/commons/system.py index 9c001e26..23be8442 100644 --- a/bauh/commons/system.py +++ b/bauh/commons/system.py @@ -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