diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-04 11:53:55 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-04 11:53:55 +0000 |
commit | c7749b46182b44f9d45496c2d75120cf45ec9738 (patch) | |
tree | a113a2dcc4a4eb99e1c2ecdd54cc7cdddd3bab85 /dev-ruby/flexmock | |
parent | Remove USE iconv wrt #268048, not everything deserves a USE flag. (diff) | |
download | historical-c7749b46182b44f9d45496c2d75120cf45ec9738.tar.gz historical-c7749b46182b44f9d45496c2d75120cf45ec9738.tar.bz2 historical-c7749b46182b44f9d45496c2d75120cf45ec9738.zip |
Fix src_test when Ruby 1.9 is not present.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/flexmock')
-rw-r--r-- | dev-ruby/flexmock/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/flexmock/flexmock-0.8.6.ebuild | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/flexmock/ChangeLog b/dev-ruby/flexmock/ChangeLog index d0fbb9213f8c..c488c6b087c2 100644 --- a/dev-ruby/flexmock/ChangeLog +++ b/dev-ruby/flexmock/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/flexmock # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.3 2009/04/29 18:09:15 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.4 2009/05/04 11:51:45 flameeyes Exp $ + + 04 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> + flexmock-0.8.6.ebuild: + Fix src_test when Ruby 1.9 is not present. *flexmock-0.8.6 (29 Apr 2009) diff --git a/dev-ruby/flexmock/flexmock-0.8.6.ebuild b/dev-ruby/flexmock/flexmock-0.8.6.ebuild index 008af912cce7..27fe4b849270 100644 --- a/dev-ruby/flexmock/flexmock-0.8.6.ebuild +++ b/dev-ruby/flexmock/flexmock-0.8.6.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/flexmock/flexmock-0.8.6.ebuild,v 1.1 2009/04/29 18:09:15 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v 1.2 2009/05/04 11:51:45 flameeyes Exp $ inherit ruby @@ -41,7 +41,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 } |