summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-04 11:52:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-04 11:52:39 +0000
commit6cd64a9270c67d284b586de79644612866916be8 (patch)
tree39136ecf725b270c4023072764d48f8ae1f46fdf /dev-ruby/sparklines
parentFix src_test when Ruby 1.9 is not present. (diff)
downloadgentoo-2-6cd64a9270c67d284b586de79644612866916be8.tar.gz
gentoo-2-6cd64a9270c67d284b586de79644612866916be8.tar.bz2
gentoo-2-6cd64a9270c67d284b586de79644612866916be8.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/sparklines')
-rw-r--r--dev-ruby/sparklines/ChangeLog6
-rw-r--r--dev-ruby/sparklines/sparklines-0.5.2.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/sparklines/ChangeLog b/dev-ruby/sparklines/ChangeLog
index c9de2042ea0a..7391a3de4220 100644
--- a/dev-ruby/sparklines/ChangeLog
+++ b/dev-ruby/sparklines/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/sparklines
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sparklines/ChangeLog,v 1.1 2009/04/25 12:57:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sparklines/ChangeLog,v 1.2 2009/05/04 11:52:39 flameeyes Exp $
+
+ 04 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ sparklines-0.5.2.ebuild:
+ Fix src_test when Ruby 1.9 is not present.
*sparklines-0.5.2 (25 Apr 2009)
diff --git a/dev-ruby/sparklines/sparklines-0.5.2.ebuild b/dev-ruby/sparklines/sparklines-0.5.2.ebuild
index 41a6c6e96780..bb405f0bc0da 100644
--- a/dev-ruby/sparklines/sparklines-0.5.2.ebuild
+++ b/dev-ruby/sparklines/sparklines-0.5.2.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/sparklines/sparklines-0.5.2.ebuild,v 1.1 2009/04/25 12:57:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sparklines/sparklines-0.5.2.ebuild,v 1.2 2009/05/04 11:52:39 flameeyes Exp $
inherit ruby
@@ -31,7 +31,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
}