summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-02-19 15:27:32 -0800
committerZac Medico <zmedico@gentoo.org>2011-02-19 16:03:37 -0800
commit68ca90d75caab59d5a33a8ca4f2dfb7c57474a04 (patch)
treee11802cbff849e0b2737847bb6bf6e632fec653e /man
parent91ae1f7c9902f48eb2d0826a96ea3ec6fae4cc62 (diff)
downloadportage-68ca90d75caab59d5a33a8ca4f2dfb7c57474a04.tar.gz
portage-68ca90d75caab59d5a33a8ca4f2dfb7c57474a04.tar.bz2
portage-68ca90d75caab59d5a33a8ca4f2dfb7c57474a04.zip
_eapi4_src_install: handle empty DOCS like PMS
This will fix bug #355635.
Diffstat (limited to 'man')
-rw-r--r--man/ebuild.52
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