summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-05 11:32:19 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-05 11:32:19 +0000
commit137d0b4eebc72deba4ba809aa43b09d29d7fec54 (patch)
tree84bf46aa9b38f377ca8c91bd63fbc2ad4405e2e8 /eclass
parentAdd a further check after install for files installed in the wrong directory ... (diff)
downloadhistorical-137d0b4eebc72deba4ba809aa43b09d29d7fec54.tar.gz
historical-137d0b4eebc72deba4ba809aa43b09d29d7fec54.tar.bz2
historical-137d0b4eebc72deba4ba809aa43b09d29d7fec54.zip
Avoid calling ruby twice since we already calculated that directory.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-ng.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 8ce4d48af387..ac0c7ebb9232 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.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-ng.eclass,v 1.2 2009/12/05 11:30:17 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.3 2009/12/05 11:32:19 flameeyes Exp $
#
# @ECLASS: ruby-ng.eclass
# @MAINTAINER:
@@ -380,7 +380,7 @@ _each_ruby_check_install() {
# The current implementation lacks libruby (i.e.: jruby)
[[ -z ${libruby_soname} ]] && return 0
- scanelf -qnR "${D}"/$(dirname $(${RUBY} -rrbconfig -e 'puts Config::CONFIG["sitedir"]')) \
+ scanelf -qnR "${D}${sitedir}" \
| fgrep -v "${libruby_soname}" \
> "${T}"/ruby-ng-${_ruby_implementation}-mislink.log