зеркало из https://github.com/mozilla/gecko-dev.git
bug 899849 - fix MozbuildObject.from_environment to work right when no mozconfig specified. r=gps
This commit is contained in:
Родитель
1f6b9a7846
Коммит
2a81b7cc9b
|
@ -135,7 +135,6 @@ class MozbuildObject(ProcessExecutionMixin):
|
||||||
topsrcdir = dir_path
|
topsrcdir = dir_path
|
||||||
break
|
break
|
||||||
|
|
||||||
if not topsrcdir:
|
|
||||||
# See if we're running from a Python virtualenv that's inside an objdir.
|
# See if we're running from a Python virtualenv that's inside an objdir.
|
||||||
mozinfo_path = os.path.join(os.path.dirname(sys.prefix), "mozinfo.json")
|
mozinfo_path = os.path.join(os.path.dirname(sys.prefix), "mozinfo.json")
|
||||||
if os.path.isfile(mozinfo_path):
|
if os.path.isfile(mozinfo_path):
|
||||||
|
|
Загрузка…
Ссылка в новой задаче