aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 1623c8fc41f..0b51bf93dc6 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -293,8 +293,7 @@ class CommandBase(object):
if extra_path:
env["PATH"] = "%s%s%s" % (os.pathsep.join(extra_path), os.pathsep, env["PATH"])
- if "CARGO_HOME" not in env:
- env["CARGO_HOME"] = self.config["tools"]["cargo-home-dir"]
+ env["CARGO_HOME"] = self.config["tools"]["cargo-home-dir"]
if "CARGO_TARGET_DIR" not in env:
env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target")