From cb62b5dd2663f0967900a865f3ae1d1e49d15cf9 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Mon, 11 Jul 2016 11:27:24 +1000 Subject: Ensure all env vars are str This is necessary for the Python build bundled in MozillaBuild. --- python/servo/build_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/servo/build_commands.py') diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 0e7151e5efc..f344b050f4e 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -332,7 +332,7 @@ class MachCommands(CommandBase): opts += ["--release"] 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() with cd(path.join("ports", "geckolib")): -- cgit v1.2.3