summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-01-01 14:22:40 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2010-01-01 14:22:40 +0100
commit8c3c65923a8e25953353d688f9b5b0983226ac0d (patch)
treee8bb4e8296fa8457ca7e293dd8ab35247bf05e3e /eclass
parent[x-modular-r2] Fix snapshot logic. (diff)
downloadx11-8c3c65923a8e25953353d688f9b5b0983226ac0d.tar.gz
x11-8c3c65923a8e25953353d688f9b5b0983226ac0d.tar.bz2
x11-8c3c65923a8e25953353d688f9b5b0983226ac0d.zip
[fonts] Fix call with empty docs variable.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 6b018216..b91cffc7 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -117,7 +117,7 @@ font_src_install() {
popd > /dev/null
- dodoc ${DOCS} || die "docs installation failed"
+ [[ -n ${DOCS} ]] && { dodoc ${DOCS} || die "docs installation failed" ; }
# install common docs
for commondoc in COPYRIGHT README{,.txt} NEWS AUTHORS BUGS ChangeLog FONTLOG.txt; do