From 2f61faa05345cabae4048e3b62ede73643a6b071 Mon Sep 17 00:00:00 2001
From: Diego Elio Pettenò <flameeyes@gentoo.org>
Date: Mon, 4 May 2009 11:53:55 +0000
Subject: Fix src_test when Ruby 1.9 is not present. (Portage version:
 2.2_rc33/cvs/Linux x86_64)

---
 dev-ruby/uuidtools/ChangeLog                 | 6 +++++-
 dev-ruby/uuidtools/uuidtools-1.0.7-r1.ebuild | 5 +++--
 2 files changed, 8 insertions(+), 3 deletions(-)

(limited to 'dev-ruby/uuidtools')

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
 }
 
-- 
cgit v1.2.3-65-gdbad