aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorFlorian Schmaus <flo@geekplace.eu>2020-07-07 11:31:36 +0200
committerZac Medico <zmedico@gentoo.org>2020-07-07 13:12:59 -0700
commit0b391cd238dd5db84268d3002a56154a10e9e32a (patch)
tree12f0117355b37b31a71b114e68178b6c94b08026 /man
parenttravis.yml: drop python 2.7 (bug 731114) (diff)
downloadportage-0b391cd238dd5db84268d3002a56154a10e9e32a.tar.gz
portage-0b391cd238dd5db84268d3002a56154a10e9e32a.tar.bz2
portage-0b391cd238dd5db84268d3002a56154a10e9e32a.zip
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@geekplace.eu> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r--man/ebuild.54
1 files 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