summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-04 11:53:55 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-04 11:53:55 +0000
commit2f61faa05345cabae4048e3b62ede73643a6b071 (patch)
treead32736cf971ddf4f9ef3c13162c4ae793034bb3 /dev-ruby/uuidtools
parentFix src_test when Ruby 1.9 is not present. (diff)
downloadgentoo-2-2f61faa05345cabae4048e3b62ede73643a6b071.tar.gz
gentoo-2-2f61faa05345cabae4048e3b62ede73643a6b071.tar.bz2
gentoo-2-2f61faa05345cabae4048e3b62ede73643a6b071.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/uuidtools')
-rw-r--r--dev-ruby/uuidtools/ChangeLog6
-rw-r--r--dev-ruby/uuidtools/uuidtools-1.0.7-r1.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/uuidtools/ChangeLog b/dev-ruby/uuidtools/ChangeLog
index c4c054540a35..0cda81adbef4 100644
--- a/dev-ruby/uuidtools/ChangeLog
+++ b/dev-ruby/uuidtools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/uuidtools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/ChangeLog,v 1.11 2009/04/27 12:48:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/ChangeLog,v 1.12 2009/05/04 11:53:55 flameeyes Exp $
+
+ 04 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ uuidtools-1.0.7-r1.ebuild:
+ Fix src_test when Ruby 1.9 is not present.
*uuidtools-1.0.7-r1 (27 Apr 2009)
diff --git a/dev-ruby/uuidtools/uuidtools-1.0.7-r1.ebuild b/dev-ruby/uuidtools/uuidtools-1.0.7-r1.ebuild
index 57a44a22f454..083b94e04dc2 100644
--- a/dev-ruby/uuidtools/uuidtools-1.0.7-r1.ebuild
+++ b/dev-ruby/uuidtools/uuidtools-1.0.7-r1.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/uuidtools/uuidtools-1.0.7-r1.ebuild,v 1.1 2009/04/27 12:48:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/uuidtools-1.0.7-r1.ebuild,v 1.2 2009/05/04 11:53:55 flameeyes Exp $
inherit ruby eutils
@@ -36,7 +36,8 @@ src_compile() {
src_test() {
for ruby in $USE_RUBY; do
- [[ -n `type -p $ruby` ]] && $ruby $(type -p rake) spec:normal || die "testsuite failed"
+ [[ -n `type -p $ruby` ]] || continue
+ $ruby $(type -p rake) spec:normal || die "testsuite failed"
done
}