commit:     2ec2e13a5bbf0b36ec632d9a1306786953c4d66f
Author:     Marien Zwart <marien.zwart <AT> gmail <DOT> com>
AuthorDate: Sat May  1 08:38:05 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat May  1 08:38:05 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=2ec2e13a

qwhich: fix locations for revisioned ebuilds in the tree and vdb

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

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

diff --git a/qwhich.c b/qwhich.c
index 05ea064..24a9ff0 100644
--- a/qwhich.c
+++ b/qwhich.c
@@ -201,12 +201,12 @@ int qwhich_main(int argc, char **argv)
                                                                        
m.print_repo ? "::" : "/",
                                                                        BOLD, 
tmcw->atom->CATEGORY,
                                                                        DKBLUE, 
tmcw->atom->PN,
-                                                                       BLUE, 
tmcw->atom->P,
+                                                                       BLUE, 
tmcw->atom->PF,
                                                                        
DKGREEN, NORM);
                                        } else if (t->cachetype == CACHE_VDB && 
!m.print_path) {
                                                printf("%s%s/%s%s%s.ebuild%s\n",
                                                                DKBLUE, 
tmcw->path,
-                                                               BLUE, 
tmcw->atom->P,
+                                                               BLUE, 
tmcw->atom->PF,
                                                                DKGREEN, NORM);
                                        } else {
                                                printf("%s%s%s\n", DKBLUE, 
tmcw->path, NORM);

Reply via email to