summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/egencache b/bin/egencache
index 2f53b40e3..a75a34172 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -426,6 +426,9 @@ class GenCache(object):
"committing target: %s\n" % (ce,),
level=logging.ERROR, noiselevel=-1)
+ if hasattr(trg_cache, '_prune_empty_dirs'):
+ trg_cache._prune_empty_dirs()
+
class GenUseLocalDesc(object):
def __init__(self, portdb, output=None,
preserve_comments=False):