Ensure all env vars are str

This is necessary for the Python build bundled in MozillaBuild.
This commit is contained in:
Xidorn Quan 2016-07-11 11:27:24 +10:00
parent beaef005c2
commit cb62b5dd26

View file

@ -332,7 +332,7 @@ class MachCommands(CommandBase):
opts += ["--release"] opts += ["--release"]
env = self.build_env() env = self.build_env()
env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target", "geckolib") env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target", "geckolib").encode("UTF-8")
build_start = time() build_start = time()
with cd(path.join("ports", "geckolib")): with cd(path.join("ports", "geckolib")):