From: "Diego Petteno (flameeyes)" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ruby-fakegem.eclass
Date: Mon, 18 Jan 2010 22:01:46 +0000 [thread overview]
Message-ID: <E1NWzfO-0005CE-Tl@stork.gentoo.org> (raw)
flameeyes 10/01/18 22:01:46
Modified: ruby-fakegem.eclass
Log:
Always install the EXTRAINSTALL content, this also allows it to be files rather than just directories
Revision Changes Path
1.11 eclass/ruby-fakegem.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakegem.eclass?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakegem.eclass?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakegem.eclass?r1=1.10&r2=1.11
Index: ruby-fakegem.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ruby-fakegem.eclass 9 Jan 2010 21:16:37 -0000 1.10
+++ ruby-fakegem.eclass 18 Jan 2010 22:01:46 -0000 1.11
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.10 2010/01/09 21:16:37 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.11 2010/01/18 22:01:46 flameeyes Exp $
#
# @ECLASS: ruby-fakegem.eclass
# @MAINTAINER:
@@ -215,11 +215,12 @@
eend $?
mkdir "${S}"
- pushd "${S}"
+ pushd "${S}" &>/dev/null
ebegin "Unpacking data.tar.gz"
tar -mxf "${my_WORKDIR}"/data.tar.gz || die
eend $?
+ popd &>/dev/null
else
[[ -n ${A} ]] && unpack ${A}
fi
@@ -258,8 +259,8 @@
each_fakegem_install() {
ruby_fakegem_genspec
- local _gemlibdirs=
- for directory in bin lib ${RUBY_FAKEGEM_EXTRAINSTALL}; do
+ local _gemlibdirs="${RUBY_FAKEGEM_EXTRAINSTALL}"
+ for directory in bin lib; do
[[ -d ${directory} ]] && _gemlibdirs="${_gemlibdirs} ${directory}"
done
@@ -280,9 +281,9 @@
all_fakegem_install() {
if [[ -n ${RUBY_FAKEGEM_DOCDIR} ]] && [[ ${RUBY_FAKEGEM_TASK_DOC} != "" ]] && use doc; then
for dir in ${RUBY_FAKEGEM_DOCDIR}; do
- pushd ${dir}
+ pushd ${dir} &>/dev/null
dohtml -r * || die "failed to install documentation"
- popd
+ popd &>/dev/null
done
fi
@@ -296,12 +297,12 @@
local bindir=$(find "${D}" -type d -path "*/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}/bin" -print -quit)
if [[ -d "${bindir}" ]]; then
- pushd "${bindir}"
+ pushd "${bindir}" &>/dev/null
local binaries=$(eval ls ${RUBY_FAKEGEM_BINWRAP})
for binary in $binaries; do
ruby_fakegem_binwrapper $binary
done
- popd
+ popd &>/dev/null
fi
fi
}
next reply other threads:[~2010-01-18 22:01 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 22:01 Diego Petteno (flameeyes) [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-04-21 7:35 [gentoo-commits] gentoo-x86 commit in eclass: ruby-fakegem.eclass Hans de Graaff (graaff)
2013-02-24 7:45 Hans de Graaff (graaff)
2012-08-19 7:45 Hans de Graaff (graaff)
2011-12-05 12:24 Hans de Graaff (graaff)
2011-10-21 6:32 Hans de Graaff (graaff)
2011-04-25 8:36 Hans de Graaff (graaff)
2011-03-05 6:58 Hans de Graaff (graaff)
2010-12-28 12:07 Hans de Graaff (graaff)
2010-12-18 9:57 Hans de Graaff (graaff)
2010-12-18 9:50 Hans de Graaff (graaff)
2010-09-23 6:47 Fabian Groffen (grobian)
2010-07-29 9:38 Diego Petteno (flameeyes)
2010-07-27 11:02 Diego Petteno (flameeyes)
2010-07-21 10:43 Diego Petteno (flameeyes)
2010-07-21 10:42 Diego Petteno (flameeyes)
2010-05-24 7:34 Diego Petteno (flameeyes)
2010-02-19 11:59 Diego Petteno (flameeyes)
2010-02-19 11:58 Diego Petteno (flameeyes)
2010-02-19 8:47 Diego Petteno (flameeyes)
2010-02-13 8:45 Hans de Graaff (graaff)
2010-01-24 0:00 Diego Petteno (flameeyes)
2010-01-21 10:18 Diego Petteno (flameeyes)
2010-01-09 21:16 Diego Petteno (flameeyes)
2010-01-01 23:13 Diego Petteno (flameeyes)
2009-12-26 17:06 Diego Petteno (flameeyes)
2009-12-21 19:07 Diego Petteno (flameeyes)
2009-12-20 23:39 Diego Petteno (flameeyes)
2009-12-16 9:51 Diego Petteno (flameeyes)
2009-12-15 17:43 Diego Petteno (flameeyes)
2009-12-15 16:27 Diego Petteno (flameeyes)
2009-12-15 15:32 Diego Petteno (flameeyes)
2009-12-14 12:32 Alex Legler (a3li)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1NWzfO-0005CE-Tl@stork.gentoo.org \
--to=flameeyes@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox