From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org, gentoo-perl@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: perl-module.eclass -- review - 2
Date: Sun, 1 Mar 2009 19:34:55 -0800 [thread overview]
Message-ID: <20090302033455.GC1955@comet> (raw)
In-Reply-To: <20090228113953.TAb8d40.tv@veller.net>
[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]
On 12:28 Sat 28 Feb , Torsten Veller wrote:
> case "${EAPI:-0}" in
> 0|1)
> EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm src_compile src_install src_test src_unpack
> ;;
> *)
> EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install
> ;;
> esac
Maybe this is just me, but I prefer to reserve '*' cases for the
fallback when I don't understand what I'm given.
> find "${D}/${VENDOR_LIB}" -type f -a \( -name .packlist \
> -o \( -name '*.bs' -a -empty \) \) -delete
> find "${D}/${VENDOR_LIB}" -depth -mindepth 1 -type d -empty -delete
I'm curious how portable the find () construct is. Do you know?
> find "${D}" -type f -not -name '*.so' | while read f ; do
> if file "${f}" | grep -q -i " text" ; then
> if grep -q "${D}" "${f}" ; then ewarn "QA: File contains a temporary path ${f}" ; fi
> sed -i -e "s:${D}:/:g" "${f}" || die
Could you just use dosed here?
--
Thanks,
Donnie
Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-03-02 3:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-27 14:08 [gentoo-dev] perl-module.eclass -- review Torsten Veller
2009-02-28 11:28 ` [gentoo-dev] Re: perl-module.eclass -- review - 2 Torsten Veller
2009-03-02 3:34 ` Donnie Berkholz [this message]
2009-03-02 7:24 ` Torsten Veller
2009-03-02 12:01 ` Bo Ørsted Andresen
2009-03-03 11:13 ` Peter Volkov
2009-03-03 13:09 ` Bo Ørsted Andresen
2009-03-09 1:50 ` Donnie Berkholz
2009-03-09 8:02 ` Rémi Cardona
2009-03-02 6:56 ` [gentoo-dev] perl-module.eclass -- review Robin H. Johnson
2009-03-02 12:08 ` [gentoo-dev] " Torsten Veller
2009-03-02 17:51 ` Donnie Berkholz
2009-03-02 18:13 ` Robin H. Johnson
2009-03-05 14:47 ` [gentoo-dev] Re: perl-module.eclass -- review - 3 Torsten Veller
2009-03-02 18:10 ` [gentoo-dev] Re: perl-module.eclass -- review Robin H. Johnson
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=20090302033455.GC1955@comet \
--to=dberkholz@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=gentoo-perl@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