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 | 494f5b3affb3c2368adb88da2c5d416fdd4cb53d (patch) | |
tree | 6c63c2b8ef55b5b1728a3885b5b202e5489765d0 /eclass/ruby.eclass | |
parent | fixed the bug in pkg_postrm (diff) | |
download | historical-494f5b3affb3c2368adb88da2c5d416fdd4cb53d.tar.gz historical-494f5b3affb3c2368adb88da2c5d416fdd4cb53d.tar.bz2 historical-494f5b3affb3c2368adb88da2c5d416fdd4cb53d.zip |
Define RUBY iff RUBY is not set
Diffstat (limited to 'eclass/ruby.eclass')
-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() { |