mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
readme.gentoo-r1.eclass: Use fixed location for README.gentoo
Eclass documentation and the elog message indicate that the expected
location to install the file is /usr/share/doc/${PF}/README.gentoo,
not the location of the ebuild's last docinto call.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -76,7 +76,10 @@ readme.gentoo_create_doc() {
|
||||
die "You are not specifying README.gentoo contents!"
|
||||
fi
|
||||
|
||||
dodoc "${T}"/README.gentoo
|
||||
( # subshell to avoid pollution of calling environment
|
||||
docinto .
|
||||
dodoc "${T}"/README.gentoo
|
||||
) || die
|
||||
README_GENTOO_DOC_VALUE=$(< "${T}/README.gentoo")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user