commit: 0b391cd238dd5db84268d3002a56154a10e9e32a
Author: Florian Schmaus <flo <AT> geekplace <DOT> eu>
AuthorDate: Tue Jul 7 09:31:36 2020 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jul 7 20:12:59 2020 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0b391cd2
man/ebuild.5: Fix $P and $PN example
Both variables do *not* include the package's category. So $PN,
instead of
x11-base/xorg-server
returns
xorg-server
Same goes for $P.
This commit fixes the error which was introduced by
84b9b5c2a ("man/ebuild.5: Improvements to the ebuild(5) man page").
Bug: https://bugs.gentoo.org/731246
Closes: https://github.com/gentoo/portage/pull/567
Signed-off-by: Florian Schmaus <flo <AT> geekplace.eu>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
man/ebuild.5 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man/ebuild.5 b/man/ebuild.5
index e955907f7..1afa59eef 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -342,7 +342,7 @@ This variable must NEVER be modified.
\fBExample\fR:
.nf
- x11\-base/xorg\-server\-1.20.5\-r2 \-\->
'\fIx11\-base/xorg\-server\-1.20.5\fR'
+ x11\-base/xorg\-server\-1.20.5\-r2 \-\-> '\fIxorg\-server\-1.20.5\fR'
.fi
.TP
.B PN
@@ -350,7 +350,7 @@ Contains the name of the script without the version number.
\fBExample\fR:
.nf
- x11\-base/xorg\-server\-1.20.5\-r2 \-\-> '\fIx11\-base/xorg\-server\fR'
+ x11\-base/xorg\-server\-1.20.5\-r2 \-\-> '\fIxorg\-server\fR'
.fi
.TP
.B PV