summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-23 22:04:47 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-23 22:04:47 +0000
commit69fddf382480e4a9200cd715d6b59387319ae9c6 (patch)
treed5cb023e4778c48c2bd882a4429811f691b9e65c /eclass
parentfix SRC_URI (Manifest recommit) (diff)
downloadgentoo-2-69fddf382480e4a9200cd715d6b59387319ae9c6.tar.gz
gentoo-2-69fddf382480e4a9200cd715d6b59387319ae9c6.tar.bz2
gentoo-2-69fddf382480e4a9200cd715d6b59387319ae9c6.zip
Fix use invocation; dodoc takes a list of files
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass11
1 files changed, 4 insertions, 7 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 0be3fe2cc734..2135659f1656 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.3 2004/06/21 09:17:54 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.4 2004/06/23 22:04:47 mr_bones_ Exp $
# Author: foser <foser@gentoo.org>
@@ -34,7 +34,7 @@ DEPEND="${DEPEND} \
font_xfont_config() {
# create Xfont files
- if [ -n "`use X`" ] ;
+ if use X ;
then
einfo "Creating fonts.scale & fonts.dir..."
mkfontscale ${D}/usr/share/fonts/${PN}
@@ -65,7 +65,7 @@ font_xft_config() {
font_src_install() {
- local suffix doc
+ local suffix
cd ${FONT_S}
@@ -83,10 +83,7 @@ font_src_install() {
cd ${S}
# try to install some common docs
DOCS="${DOCS} COPYRIGHT README NEWS"
- for doc in ${DOCS}; do
- dodoc ${doc}
- done
-
+ dodoc ${DOCS}
}
EXPORT_FUNCTIONS src_install