Commit a4d72838 authored by Ghislain MARY's avatar Ghislain MARY

Always clean all targets when running prepare.py with the -c option...

Always clean all targets when running prepare.py with the -c option (regardless of the targets passed in the command line).
parent 1c9f7d7a
......@@ -367,8 +367,8 @@ class Preparator:
return p.returncode
def clean(self):
for target_name in self.args.target:
self.target_clean(self.targets[target_name])
for target_name, target in self.targets.items():
self.target_clean(target)
return 0
def prepare(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment