diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-04 11:52:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-04 11:52:16 +0000 |
commit | 6ba8cb933458e6e382fb419f259baba7481e7881 (patch) | |
tree | 791d1bfd96c66fe486ce6d64c037898ef1129cbf | |
parent | Fix src_test when Ruby 1.9 is not present. (diff) | |
download | gentoo-2-6ba8cb933458e6e382fb419f259baba7481e7881.tar.gz gentoo-2-6ba8cb933458e6e382fb419f259baba7481e7881.tar.bz2 gentoo-2-6ba8cb933458e6e382fb419f259baba7481e7881.zip |
Fix src_test when Ruby 1.9 is not present.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r-- | dev-ruby/mime-types/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/mime-types/mime-types-1.16.ebuild | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/mime-types/ChangeLog b/dev-ruby/mime-types/ChangeLog index 22bba973c9cb..2bf1b907af64 100644 --- a/dev-ruby/mime-types/ChangeLog +++ b/dev-ruby/mime-types/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/mime-types # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.5 2009/04/20 00:20:31 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.6 2009/05/04 11:52:16 flameeyes Exp $ + + 04 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> + mime-types-1.16.ebuild: + Fix src_test when Ruby 1.9 is not present. 20 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org> mime-types-1.16: Make mime-types install on Ruby 1.9 (included the fake gems diff --git a/dev-ruby/mime-types/mime-types-1.16.ebuild b/dev-ruby/mime-types/mime-types-1.16.ebuild index e10583041beb..f0d0df8300eb 100644 --- a/dev-ruby/mime-types/mime-types-1.16.ebuild +++ b/dev-ruby/mime-types/mime-types-1.16.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/mime-types/mime-types-1.16.ebuild,v 1.2 2009/04/20 00:20:31 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/mime-types-1.16.ebuild,v 1.3 2009/05/04 11:52:16 flameeyes Exp $ inherit ruby @@ -27,7 +27,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 } |