Have ./mach cargo not change to components/servo.

`ports/android/glut` relies on it executing on the current directory.
This commit is contained in:
Simon Sapin 2014-12-02 16:19:06 -08:00
parent cc4ea7507f
commit 14e28f6654

View file

@ -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',