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