diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-01-25 16:07:28 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-01-25 16:07:28 +0000 |
commit | 65b2ccc013b6b8edae496792d6423325d7ad8115 (patch) | |
tree | e60acb0d9253fec7df29134321ba77a29b3beb89 | |
parent | fixed the bug in pkg_postrm (diff) | |
download | gentoo-2-65b2ccc013b6b8edae496792d6423325d7ad8115.tar.gz gentoo-2-65b2ccc013b6b8edae496792d6423325d7ad8115.tar.bz2 gentoo-2-65b2ccc013b6b8edae496792d6423325d7ad8115.zip |
Define RUBY iff RUBY is not set
-rw-r--r-- | eclass/ruby.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass index a9b7491b73df..bac4afd9567a 100644 --- a/eclass/ruby.eclass +++ b/eclass/ruby.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.22 2004/01/25 11:15:41 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.23 2004/01/25 16:07:28 usata Exp $ # # Author: Mamoru KOMACHI <usata@gentoo.org> # @@ -49,7 +49,7 @@ LICENSE="Ruby" newdepend ">=dev-lang/ruby-1.6.8" -export RUBY=/usr/bin/ruby +[[ -n "${RUBY}" ]] && export RUBY=/usr/bin/ruby ruby_src_unpack() { |