Skip to content

Commit

Permalink
eclean: fix eclean-dist with no git3-src dir
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/922455
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jan 19, 2024
1 parent 0f64bf5 commit c584d83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pym/gentoolkit/eclean/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ def vcs_check(self, distdir):
"""Checks $DISTDIR/vcs-src for checkouts which are not in the vardb"""
# For now we only check git
vcs_src = os.path.join(distdir, "git3-src")
if not os.path.exists(vcs_src):
return {}

expected_dirs = set()
for i in set(self.vardb.cpv_all()):
if "live" in self.vardb.aux_get(i, ["PROPERTIES"]):
Expand Down

0 comments on commit c584d83

Please sign in to comment.