summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-12-15 12:38:47 +0000
committerHans de Graaff <graaff@gentoo.org>2010-12-15 12:38:47 +0000
commitfd76b21cbc06852c40b532dab6ae816650668dc0 (patch)
tree5628c2a9499f6a69b01abd5d8a2e43fbca605f1a /eclass
parentStable on amd64 wrt bug #348499 (diff)
downloadgentoo-2-fd76b21cbc06852c40b532dab6ae816650668dc0.tar.gz
gentoo-2-fd76b21cbc06852c40b532dab6ae816650668dc0.tar.bz2
gentoo-2-fd76b21cbc06852c40b532dab6ae816650668dc0.zip
Use a subshell to properly catch the echo.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-ng-gnome2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index eaf67aab748f..720cd3b332ea 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.4 2010/12/15 12:36:46 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.5 2010/12/15 12:38:47 graaff Exp $
#
# @ECLASS: ruby-ng-gnome2.eclass
# @MAINTAINER:
@@ -53,7 +53,7 @@ each_ruby_compile() {
# Install the files in the subbinding for each specific ruby target.
each_ruby_install() {
# Create the directories, or the package will create them as files.
- local archdir=ruby_rbconfig_value "sitearchdir"
+ local archdir=$(ruby_rbconfig_value "sitearchdir")
dodir ${archdir#${EPREFIX}} /usr/$(get_libdir)/pkgconfig
emake DESTDIR="${D}" install || die "make install failed"