Signed-off-by: Aaron Bauman <b...@gentoo.org> --- lib/portage/cache/flat_hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/portage/cache/flat_hash.py b/lib/portage/cache/flat_hash.py index 7d5b44511..7d48bae81 100644 --- a/lib/portage/cache/flat_hash.py +++ b/lib/portage/cache/flat_hash.py @@ -22,7 +22,7 @@ class database(fs_template.FsBased): def __init__(self, *args, **config): super(database,self).__init__(*args, **config) - self.location = os.path.join(self.location, + self.location = os.path.join(self.location, self.label.lstrip(os.path.sep).rstrip(os.path.sep)) write_keys = set(self._known_keys) write_keys.add("_eclasses_") -- 2.28.0