diff options
author | Alex Legler <a3li@gentoo.org> | 2009-08-26 22:46:47 +0000 |
---|---|---|
committer | Alex Legler <a3li@gentoo.org> | 2009-08-26 22:46:47 +0000 |
commit | c5dcf2a2cf3c55501f74beb89b60e100467d7380 (patch) | |
tree | 545d42638ee4ead196efca7f33109ff81f57a771 /dev-ruby | |
parent | Dying a little more, ignoring not installed ruby versions when testing. (diff) | |
download | gentoo-2-c5dcf2a2cf3c55501f74beb89b60e100467d7380.tar.gz gentoo-2-c5dcf2a2cf3c55501f74beb89b60e100467d7380.tar.bz2 gentoo-2-c5dcf2a2cf3c55501f74beb89b60e100467d7380.zip |
Giving die a meaningful message, ignoring not installed ruby versions when testing.
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-dbi/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/ruby-dbi/ChangeLog b/dev-ruby/ruby-dbi/ChangeLog index c28abb596b14..7aad0035a1a3 100644 --- a/dev-ruby/ruby-dbi/ChangeLog +++ b/dev-ruby/ruby-dbi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/ruby-dbi # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.37 2009/08/26 22:17:15 a3li Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.38 2009/08/26 22:46:47 a3li Exp $ + + 26 Aug 2009; Alex Legler <a3li@gentoo.org> ruby-dbi-0.4.2.ebuild: + Giving die a meaningful message, ignoring not installed ruby versions when + testing. *ruby-dbi-0.4.2 (26 Aug 2009) diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild index 9cd5ae32043c..00d9c067d01c 100644 --- a/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild +++ b/dev-ruby/ruby-dbi/ruby-dbi-0.4.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/ruby-dbi/ruby-dbi-0.4.2.ebuild,v 1.1 2009/08/26 22:17:15 a3li Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild,v 1.2 2009/08/26 22:46:47 a3li Exp $ inherit "ruby" @@ -33,6 +33,7 @@ USE_RUBY="ruby18 ruby19" src_test() { for rb in $USE_RUBY; do ebegin "Testing for ${rb}" + [ -x ${rb} ] || continue ${rb} setup.rb test || die "test failed" eend $? done @@ -40,7 +41,7 @@ src_test() { src_install() { ruby setup.rb install \ - --prefix="${D}" || die + --prefix="${D}" || die "setup.rb install failed" dodoc README |