From 14e28f66540fe58dae8dd2b9738dbd04c022bb40 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 2 Dec 2014 16:19:06 -0800 Subject: [PATCH] Have `./mach cargo` not change to `components/servo`. `ports/android/glut` relies on it executing on the current directory. --- python/servo/devenv_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',