1 |
commit: 419b78c837ff3355e0e1d0652a56678e303bcf6b |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 18:30:24 2021 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 18:30:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=419b78c8 |
7 |
|
8 |
qlist: don't use ROOT with PKGDIR |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
qlist.c | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/qlist.c b/qlist.c |
16 |
index a6bcc43..48f7707 100644 |
17 |
--- a/qlist.c |
18 |
+++ b/qlist.c |
19 |
@@ -1,5 +1,5 @@ |
20 |
/* |
21 |
- * Copyright 2005-2020 Gentoo Foundation |
22 |
+ * Copyright 2005-2021 Gentoo Foundation |
23 |
* Distributed under the terms of the GNU General Public License v2 |
24 |
* |
25 |
* Copyright 2005 Martin Schlemmer - <azarah@g.o> |
26 |
@@ -536,7 +536,7 @@ int qlist_main(int argc, char **argv) |
27 |
} |
28 |
} else { |
29 |
if (state.do_binpkgs) |
30 |
- vdb = tree_open_binpkg(portroot, pkgdir); |
31 |
+ vdb = tree_open_binpkg("/", pkgdir); |
32 |
else |
33 |
vdb = tree_open_vdb(portroot, portvdb); |
34 |
if (vdb != NULL) { |