((args.verb == Verb.build or args.force > 0) and not have_cache(tools)) or
needs_clean(args, tools, force=2)
):
- fork_and_wait(run_clean, args, tools, resources=resources)
+ run_clean(args, tools, resources=resources)
else:
tools = None
# image build could end up deleting the output generated by an earlier image build.
for config in images:
if needs_clean(args, config) or args.wipe_build_dir:
- fork_and_wait(run_clean, args, config, resources=resources)
+ run_clean(args, config, resources=resources)
if args.verb == Verb.clean:
return