From: "Tristan Heaven (nyhm)" <nyhm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
Date: Mon, 18 Feb 2008 18:12:16 +0000 [thread overview]
Message-ID: <E1JRATQ-0006Kg-Ri@stork.gentoo.org> (raw)
nyhm 08/02/18 18:12:16
Modified: games-ggz.eclass
Log:
modules can have names with spaces
Revision Changes Path
1.2 eclass/games-ggz.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?r1=1.1&r2=1.2
Index: games-ggz.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- games-ggz.eclass 22 Feb 2007 09:36:03 -0000 1.1
+++ games-ggz.eclass 18 Feb 2008 18:12:16 -0000 1.2
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.1 2007/02/22 09:36:03 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.2 2008/02/18 18:12:16 nyhm Exp $
# For GGZ Gaming Zone packages
@@ -40,7 +40,9 @@
[[ ${EBUILD_PHASE} == "postinst" ]] || [[ ${EBUILD_PHASE} == "postrm" ]] \
|| die "${FUNCNAME} can only be used in pkg_postinst or pkg_postrm"
- type -p ggz-config > /dev/null || return 1
+ # ggz-config needs libggz, so it could be broken
+ ggz-config -h > /dev/null || return 1
+
local confdir=${ROOT}/etc
local moddir=${ROOT}/${GGZ_MODDIR}
local dsc rval=0
@@ -50,9 +52,8 @@
if [[ -d ${moddir} ]] ; then
ebegin "Installing GGZ modules"
cd "${moddir}"
- for dsc in $(find . -type f -name '*.dsc') ; do
- debug-print ${dsc}
- DESTDIR=${ROOT} ggz-config -Dim ${dsc} || rval=1
+ find . -type f -name '*.dsc' | while read dsc ; do
+ DESTDIR=${ROOT} ggz-config -Dim "${dsc}" || ((rval++))
done
eend ${rval}
fi
--
gentoo-commits@lists.gentoo.org mailing list
next reply other threads:[~2008-02-18 18:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 18:12 Tristan Heaven (nyhm) [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-03-26 14:35 [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass Tristan Heaven (nyhm)
2008-10-11 1:36 Tristan Heaven (nyhm)
2009-02-01 17:44 Michael Sterrett (mr_bones_)
2011-04-19 21:19 Tomas Chvatal (scarabeus)
2011-08-04 19:31 Tomas Chvatal (scarabeus)
2012-04-23 7:16 Michael Sterrett (mr_bones_)
2015-03-27 5:36 Michael Sterrett (mr_bones_)
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=E1JRATQ-0006Kg-Ri@stork.gentoo.org \
--to=nyhm@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