diff options
Diffstat (limited to 'bin/glsa-check')
| -rwxr-xr-x | bin/glsa-check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/glsa-check b/bin/glsa-check index a783c27..a8c0188 100755 --- a/bin/glsa-check +++ b/bin/glsa-check @@ -148,8 +148,8 @@ glsaconfig = checkconfig(portage.config(clone=portage.settings)) if quiet: glsaconfig["EMERGE_OPTS"] += " --quiet" -vardb = portage.db["/"]["vartree"].dbapi -portdb = portage.db["/"]["porttree"].dbapi +vardb = portage.db[portage.root]["vartree"].dbapi +portdb = portage.db[portage.root]["porttree"].dbapi # Check that we really have a glsa dir to work on if not (os.path.exists(glsaconfig["GLSA_DIR"]) and os.path.isdir(glsaconfig["GLSA_DIR"])): |
