diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-08-15 12:46:24 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-08-19 08:29:44 +0200 |
commit | e97d61d1e41787cccf015dac8eb0ff60f9ef09f0 (patch) | |
tree | f9d83c1990729a86cc0483a232b886e54a3c59dc /eclass/readme.gentoo-r1.eclass | |
parent | games-rpg/rpg-cli: drop old (diff) | |
download | gentoo-e97d61d1e41787cccf015dac8eb0ff60f9ef09f0.tar.gz gentoo-e97d61d1e41787cccf015dac8eb0ff60f9ef09f0.tar.bz2 gentoo-e97d61d1e41787cccf015dac8eb0ff60f9ef09f0.zip |
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>
Diffstat (limited to 'eclass/readme.gentoo-r1.eclass')
-rw-r--r-- | eclass/readme.gentoo-r1.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass index 69d0e1c5c6b4..e47e1ac20af6 100644 --- a/eclass/readme.gentoo-r1.eclass +++ b/eclass/readme.gentoo-r1.eclass @@ -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") } |