diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-02-05 21:19:11 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-02-05 21:19:11 +0000 |
commit | 07ceeb5e6a93a0d357bcbf879976b5b57eb29b5e (patch) | |
tree | 5ac07b1a9e6420a6473737d43c4a1bbc338e6439 | |
parent | 0fc977f0b8be9de82afa20d58c391973de10a83c (diff) | |
download | portage-07ceeb5e6a93a0d357bcbf879976b5b57eb29b5e.tar.gz portage-07ceeb5e6a93a0d357bcbf879976b5b57eb29b5e.tar.bz2 portage-07ceeb5e6a93a0d357bcbf879976b5b57eb29b5e.zip |
add CATEGORY to ebuild.5 and declare it readonly in ebuild.sh
svn path=/main/trunk/; revision=2670
-rwxr-xr-x | bin/ebuild.sh | 2 | ||||
-rw-r--r-- | man/ebuild.5 | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index ccd02cdb2..cfff8629b 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1797,7 +1797,7 @@ export S=${WORKDIR}/${P} unset E_IUSE E_DEPEND E_RDEPEND E_PDEPEND -for x in T P PN PV PVR PR A EBUILD EMERGE_FROM O PPID FILESDIR PORTAGE_TMPDIR; do +for x in T P PN PV PVR PR CATEGORY A EBUILD EMERGE_FROM O PPID FILESDIR PORTAGE_TMPDIR; do [[ ${!x-UNSET_VAR} != UNSET_VAR ]] && declare -r ${x} done # Need to be able to change D in dyn_preinst due to the IMAGE stuff diff --git a/man/ebuild.5 b/man/ebuild.5 index fe66914bd..af8443df1 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -87,6 +87,9 @@ Contains the full package name \fI[PN]\-[PVR]\fR .br \fBxfree-4.2.1-r2.ebuild\fR --> \fB$PF\fR=='\fIxfree-4.2.1-r2\fR' .TP +.B CATEGORY +Contains the package category name. +.TP .B A Contains all source files required for the package. This variable must not be defined. It is autogenerated from the \fISRC_URI\fR variables. |