diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-05-17 14:36:13 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-05-17 14:36:13 +0000 |
commit | b9cd61dbceb74a98ae4372a6eaee21823d069fd1 (patch) | |
tree | f22d60d8ed3d47bda0419d5b61b042587d33975e /eclass | |
parent | Fixing Manifest (diff) | |
download | gentoo-2-b9cd61dbceb74a98ae4372a6eaee21823d069fd1.tar.gz gentoo-2-b9cd61dbceb74a98ae4372a6eaee21823d069fd1.tar.bz2 gentoo-2-b9cd61dbceb74a98ae4372a6eaee21823d069fd1.zip |
Fix for bug 92841 - checking to make sure $mydoc has value before actually invoking it
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/perl-module.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index bcc44cf895b4..3b8465a7b1bf 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.69 2005/05/14 14:06:39 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.70 2005/05/17 14:36:13 mcummings Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> # Maintained by the Perl herd <perl@gentoo.org> @@ -146,7 +146,9 @@ perl-module_src_install() { for doc in Change* MANIFEST* README*; do [ -s "$doc" ] && dodoc $doc done - dodoc ${mydoc} + if [ -s "${mydoc}" ]; then + dodoc ${mydoc} + fi } |