commit:     419b78c837ff3355e0e1d0652a56678e303bcf6b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  1 18:30:24 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Jun  1 18:30:24 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=419b78c8

qlist: don't use ROOT with PKGDIR

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 qlist.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qlist.c b/qlist.c
index a6bcc43..48f7707 100644
--- a/qlist.c
+++ b/qlist.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2005-2020 Gentoo Foundation
+ * Copyright 2005-2021 Gentoo Foundation
  * Distributed under the terms of the GNU General Public License v2
  *
  * Copyright 2005 Martin Schlemmer     - <[email protected]>
@@ -536,7 +536,7 @@ int qlist_main(int argc, char **argv)
                }
        } else {
                if (state.do_binpkgs)
-                       vdb = tree_open_binpkg(portroot, pkgdir);
+                       vdb = tree_open_binpkg("/", pkgdir);
                else
                        vdb = tree_open_vdb(portroot, portvdb);
                if (vdb != NULL) {

Reply via email to