diff options
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") } |