Skip to content
Snippets Groups Projects
Commit 1a915675 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 05c96b18
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment