summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-04 11:53:32 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-04 11:53:32 +0000
commit40a3f98c765d8c62ae6da04eea23cec5a2de11cb (patch)
tree6ce52437e47c956757ea3dcdeeffd6a45b563496 /dev-ruby
parentFix src_test when Ruby 1.9 is not present. (diff)
downloadgentoo-2-40a3f98c765d8c62ae6da04eea23cec5a2de11cb.tar.gz
gentoo-2-40a3f98c765d8c62ae6da04eea23cec5a2de11cb.tar.bz2
gentoo-2-40a3f98c765d8c62ae6da04eea23cec5a2de11cb.zip
Fix src_test when Ruby 1.9 is not present.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/tzinfo/ChangeLog6
-rw-r--r--dev-ruby/tzinfo/tzinfo-0.3.13.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/tzinfo/ChangeLog b/dev-ruby/tzinfo/ChangeLog
index ea906f04a752..22e1224f0918 100644
--- a/dev-ruby/tzinfo/ChangeLog
+++ b/dev-ruby/tzinfo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/tzinfo
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.32 2009/04/20 20:06:26 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.33 2009/05/04 11:53:32 flameeyes Exp $
+
+ 04 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ tzinfo-0.3.13.ebuild:
+ Fix src_test when Ruby 1.9 is not present.
20 Apr 2009; Markus Meier <maekke@gentoo.org> tzinfo-0.3.12-r1:
x86 stable, bug #266520
diff --git a/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild b/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild
index 0ca6cb60bbf1..8429e4ca1181 100644
--- a/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild
+++ b/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild,v 1.2 2009/04/20 00:33:13 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild,v 1.3 2009/05/04 11:53:32 flameeyes Exp $
inherit ruby
@@ -41,7 +41,8 @@ src_compile() {
src_test() {
for ruby in $USE_RUBY; do
- [[ -n `type -p $ruby` ]] && $ruby $(type -p rake) test || die "testsuite failed"
+ [[ -n `type -p $ruby` ]] || continue
+ $ruby $(type -p rake) test || die "testsuite failed"
done
}