summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index 64429296d..78d2f1f5b 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -326,7 +326,7 @@ def egencache_main(args):
settings.lock()
- portdb = portage.portdbapi(settings["PORTDIR"], mysettings=settings)
+ portdb = portage.portdbapi(mysettings=settings)
if options.repo is not None:
repo_path = portdb.getRepositoryPath(options.repo)
if repo_path is None: