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
commitf6c1617051c29eaef374a05124b87b41020675cd (patch)
treefc4e134e08e710365fc80a78ff0676f60ff51fde /eclass
parentrepoman: header fix (diff)
downloadhistorical-f6c1617051c29eaef374a05124b87b41020675cd.tar.gz
historical-f6c1617051c29eaef374a05124b87b41020675cd.tar.bz2
historical-f6c1617051c29eaef374a05124b87b41020675cd.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