Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ruby-fakegem.eclass
Date: Fri, 01 Jan 2010 23:13:33
Message-Id: E1NQqgQ-0001Uo-WF@stork.gentoo.org
1 flameeyes 10/01/01 23:13:26
2
3 Modified: ruby-fakegem.eclass
4 Log:
5 Don't error out if there is neither bin nor lib directories to install.
6
7 This is the case of the pg gem for instance.
8
9 Revision Changes Path
10 1.9 eclass/ruby-fakegem.eclass
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakegem.eclass?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakegem.eclass?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakegem.eclass?r1=1.8&r2=1.9
15
16 Index: ruby-fakegem.eclass
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ruby-fakegem.eclass 26 Dec 2009 17:06:02 -0000 1.8
23 +++ ruby-fakegem.eclass 1 Jan 2010 23:13:26 -0000 1.9
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.8 2009/12/26 17:06:02 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.9 2010/01/01 23:13:26 flameeyes Exp $
29 #
30 # @ECLASS: ruby-fakegem.eclass
31 # @MAINTAINER:
32 @@ -263,7 +263,8 @@
33 [[ -d ${directory} ]] && _gemlibdirs="${_gemlibdirs} ${directory}"
34 done
35
36 - ruby_fakegem_doins -r ${_gemlibdirs}
37 + [[ -n ${_gemlibdirs} ]] && \
38 + ruby_fakegem_doins -r ${_gemlibdirs}
39 }
40
41 # @FUNCTION: each_ruby_install