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:
Ulrich Müller
2021-08-19 08:29:44 +02:00
parent 3151923bf5
commit e97d61d1e4
+4 -1
View File
@@ -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")
}