diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-02-19 15:27:32 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-02-19 15:27:32 -0800 |
commit | cba45f5b8f7d38993c7e93050a3771fd57fa8564 (patch) | |
tree | ec24ec4ade60e03209478ccb8bbb59a95b100121 /man | |
parent | b06d5460f3849973bf5ebd62c2e109c5892f59da (diff) | |
download | portage-cba45f5b8f7d38993c7e93050a3771fd57fa8564.tar.gz portage-cba45f5b8f7d38993c7e93050a3771fd57fa8564.tar.bz2 portage-cba45f5b8f7d38993c7e93050a3771fd57fa8564.zip |
_eapi4_src_install: handle empty DOCS like PMS
This will fix bug #355635.
Diffstat (limited to 'man')
-rw-r--r-- | man/ebuild.5 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5 index dd6a31bf2..1067f82ee 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -700,7 +700,7 @@ src_install() { emake DESTDIR="${D}" install fi - if [[ \-z $DOCS ]] ; then + if ! declare -p DOCS &>/dev/null ; then local d for d in README* ChangeLog AUTHORS NEWS TODO CHANGES \\ THANKS BUGS FAQ CREDITS CHANGELOG ; do |