diff options
-rw-r--r-- | pym/portage/dbapi/porttree.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 49a1b0049..ac93ff355 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -108,7 +108,8 @@ class portdbapi(dbapi): ":".join(filter(None, sandbox_write)) #adding porttress from repositories - porttrees = list(self.settings.repositories.repoLocationList()) + porttrees = [os.path.realpath(x) for x in \ + self.settings.repositories.repoLocationList()] self._missing_repo_names = self.settings.repositories.missing_repo_names # Ensure that each repo_name is unique. Later paths override @@ -119,7 +120,8 @@ class portdbapi(dbapi): self.treemap = self.settings.repositories.treemap self.porttrees = porttrees - porttree_root = self.settings.repositories.mainRepoLocation() + porttree_root = os.path.realpath( + self.settings.repositories.mainRepoLocation()) self.porttree_root = porttree_root self.eclassdb = eclass_cache.cache(porttree_root) |