mirror of
https://github.com/servo/servo.git
synced 2025-06-30 12:03:38 +01:00
Only add --manifest-path if not already present
This commit is contained in:
parent
4e85f9c186
commit
deeb79669f
3 changed files with 10 additions and 8 deletions
|
@ -40,8 +40,7 @@ class MachCommands(CommandBase):
|
|||
if check:
|
||||
params = ['check'] + params
|
||||
|
||||
if "--manifest-path" not in params:
|
||||
params += ["--manifest-path", self.ports_servo_manifest()]
|
||||
self.add_manifest_path(params)
|
||||
|
||||
build_start = time()
|
||||
status = self.call_rustup_run(["cargo"] + params, env=env)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue