From: Richard Brown Date: Sat, 10 Mar 2007 10:27:45 +0000 (+0000) Subject: Includes samples dir with USE="examples" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a5405d46136c62dc26165982007c39c183596473;p=gentoo.git Includes samples dir with USE="examples" --- diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass index 38da2dc2377c..352ffc7f7288 100644 --- a/eclass/ruby.eclass +++ b/eclass/ruby.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/ruby.eclass,v 1.62 2007/01/31 13:46:07 pclouds Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.63 2007/03/10 10:27:45 rbrown Exp $ # # Author: Mamoru KOMACHI # @@ -174,7 +174,7 @@ erubydoc() { fi if ( use examples ); then - for dir in sample example examples; do + for dir in sample samples example examples; do if [ -d ${dir} ] ; then dodir /usr/share/doc/${PF} cp -pPR ${dir} ${D}/usr/share/doc/${PF} || die "cp failed"