summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-09-07 03:09:26 +0000
committerAron Griffis <agriffis@gentoo.org>2003-09-07 03:09:26 +0000
commit07106f2443ccfe95e5592bdc4921777fd2576db6 (patch)
tree81ef6312b5712dd459a1e8dc0204cb459717f23e /eclass
parentrepoman: trim trailing whitespace (diff)
downloadgentoo-2-07106f2443ccfe95e5592bdc4921777fd2576db6.tar.gz
gentoo-2-07106f2443ccfe95e5592bdc4921777fd2576db6.tar.bz2
gentoo-2-07106f2443ccfe95e5592bdc4921777fd2576db6.zip
minor updates
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass
index 9a3274626bd4..5f5fdb675ad2 100644
--- a/eclass/ruby.eclass
+++ b/eclass/ruby.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.1 2003/09/07 02:37:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.2 2003/09/07 03:09:26 agriffis Exp $
#
# Author: Mamoru KOMACHI <usata@gentoo.org>
#
@@ -37,8 +37,7 @@ ruby_src_compile() {
}
ruby_src_install() {
- local siteruby=$(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')
- local rdbase=/usr/share/doc/${PF}/rd
+ local siteruby rdbase=/usr/share/doc/${PF}/rd
if [ -f extconf.rb -o -f Makefile ] ; then
einstall DESTDIR=${D} || die "einstall failed"
@@ -48,6 +47,7 @@ ruby_src_install() {
ruby install.rb install \
|| die "install.rb install failed"
else
+ siteruby=$(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')
insinto ${siteruby}/${PN}
doins *.rb || "doins failed"
fi