summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/egencache5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/egencache b/bin/egencache
index 47e4ea2c7..89708ad71 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -133,6 +133,11 @@ class GenCache(object):
"metadata/cache", portage.auxdbkeys[:])
if rsync:
self._trg_cache.raise_stat_collision = True
+ try:
+ self._trg_cache.ec = \
+ portdb._repo_info[portdb.porttrees[0]].eclass_db
+ except AttributeError:
+ pass
self._existing_nodes = set()
def _metadata_callback(self, cpv, ebuild_path, repo_path, metadata):