aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2014-12-02 16:19:06 -0800
committerSimon Sapin <simon.sapin@exyr.org>2014-12-02 18:04:06 -0800
commit14e28f66540fe58dae8dd2b9738dbd04c022bb40 (patch)
tree1ed27a654b86ce45cfab809ac1ff189e23f01e8a
parentcc4ea7507f9a4b51833f3134817d3870a6142d22 (diff)
downloadservo-14e28f66540fe58dae8dd2b9738dbd04c022bb40.tar.gz
servo-14e28f66540fe58dae8dd2b9738dbd04c022bb40.zip
Have `./mach cargo` not change to `components/servo`.
`ports/android/glut` relies on it executing on the current directory.
-rw-r--r--python/servo/devenv_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py
index a6b9b997c18..e031a957935 100644
--- a/python/servo/devenv_commands.py
+++ b/python/servo/devenv_commands.py
@@ -22,7 +22,7 @@ class MachCommands(CommandBase):
help="Command-line arguments to be passed through to Cargo")
def cargo(self, params):
return subprocess.call(["cargo"] + params,
- env=self.build_env(), cwd=self.servo_crate())
+ env=self.build_env())
@Command('update-cargo',
description='Update Cargo dependencies',