Bug 870073 - Write the full MOZCONFIG path to mozinfo.json [r=gps]

This commit is contained in:
Matt Brubeck 2013-05-09 11:11:01 -07:00
parent e11b57da96
commit a3343670fc

View File

@ -29,11 +29,10 @@ def build_dict(env=os.environ):
raise Exception("Missing required environment variables: %s" %
', '.join(missing))
if 'MOZCONFIG' in env:
d["mozconfig"] = env["MOZCONFIG"]
d["topsrcdir"] = env["TOPSRCDIR"]
if 'TOPSRCDIR' in env:
d["topsrcdir"] = env["TOPSRCDIR"]
if 'MOZCONFIG' in env:
d["mozconfig"] = os.path.join(d['topsrcdir'], env["MOZCONFIG"])
# os
o = env["OS_TARGET"]