diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-07-01 16:16:08 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-07-01 17:43:07 +0200 |
commit | aa5e5596c02469520a8c526745fea487f88b08f1 (patch) | |
tree | 9046dd7d496760ac4df9a993b38c08643ce70602 /python/servo/build_commands.py | |
parent | 9110b25d13cce94d237b9b8ce6d2be0ff9058583 (diff) | |
download | servo-aa5e5596c02469520a8c526745fea487f88b08f1.tar.gz servo-aa5e5596c02469520a8c526745fea487f88b08f1.zip |
`./mach clean`: cwd is unnecessary when `--manifest-path` is used
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r-- | python/servo/build_commands.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 997b0f319de..6dd5a608de9 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -712,14 +712,11 @@ class MachCommands(CommandBase): print('Removing virtualenv directory: %s' % virtualenv_path) shutil.rmtree(virtualenv_path) - opts = [] - if manifest_path: - opts += ["--manifest-path", manifest_path] + opts = ["--manifest-path", manifest_path or self.ports_glutin_manifest()] if verbose: opts += ["-v"] opts += params - return check_call(["cargo", "clean"] + opts, - env=self.build_env(), cwd=self.ports_glutin_crate(), verbose=verbose) + return check_call(["cargo", "clean"] + opts, env=self.build_env(), verbose=verbose) def package_gstreamer_dlls(servo_exe_dir, target): |