mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
buildman: Don't prune output space for 'current source' build
This is not needed since we always do a full (non-incremental) build. Also it might be dangerous since it will try to delete everything below the base directory. Fix this potentially nasty bug. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
05c96b187a
commit
1a91567510
1 changed files with 2 additions and 0 deletions
|
@ -1115,6 +1115,8 @@ class Builder:
|
|||
create. Having left over directories is confusing when the user wants
|
||||
to check the output manually.
|
||||
"""
|
||||
if not self.commits:
|
||||
return
|
||||
dir_list = []
|
||||
for commit_upto in range(self.commit_count):
|
||||
dir_list.append(self._GetOutputDir(commit_upto))
|
||||
|
|
Loading…
Reference in a new issue