diff options
Diffstat (limited to 'eclass/ruby.eclass')
-rw-r--r-- | eclass/ruby.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass index 565b929817df..9c52e4674d0a 100644 --- a/eclass/ruby.eclass +++ b/eclass/ruby.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.72 2008/12/13 10:03:54 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.73 2009/01/18 17:06:32 a3li Exp $ # # @ECLASS: ruby.eclass # @MAINTAINER: @@ -234,12 +234,13 @@ prepall() { [[ ! -x /usr/bin/ruby16 ]] && export USE_RUBY=${USE_RUBY/ruby16/} [[ ! -x /usr/bin/ruby18 ]] && export USE_RUBY=${USE_RUBY/ruby18/} [[ ! -x /usr/bin/ruby19 ]] && export USE_RUBY=${USE_RUBY/ruby19/} + [[ ! -x /usr/bin/rubyee ]] && export USE_RUBY=${USE_RUBY/rubyee/} local ruby_slots=$(echo "${USE_RUBY}" | wc -w) if [ "$ruby_slots" -ge 2 ] ; then einfo "Now we are building the package for ${USE_RUBY}" - for rb in ${USE_RUBY} ruby ; do + for rb in ${USE_RUBY} ; do einfo "Using $rb" export RUBY=/usr/bin/$rb ruby() { /usr/bin/$rb "$@" ; } |