mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1610774 - put mozfile at the beginning of the user's path if necessary in configure r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60705 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4f3076794c
commit
42ed117231
@ -302,8 +302,8 @@ def virtualenv_python2(env_python, build_env, mozillabuild, mozconfig, help):
|
||||
# If we're not in the virtualenv, we need the mozfile module for
|
||||
# find_program.
|
||||
if normsep(sys.executable) != normsep(manager.python_path):
|
||||
sys.path.append(os.path.join(
|
||||
topsrcdir, 'testing', 'mozbase', 'mozfile'))
|
||||
sys.path.insert(
|
||||
0, os.path.join(topsrcdir, 'testing', 'mozbase', 'mozfile'))
|
||||
|
||||
if python:
|
||||
found_python = find_program(python)
|
||||
|
Loading…
Reference in New Issue
Block a user