From: Ulrich Mueller <ulm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] office-ext.eclass
Date: Tue, 30 Aug 2011 09:02:49 +0200 [thread overview]
Message-ID: <20060.35609.691205.374044@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <4E5C82D3.3050403@gentoo.org>
>>>>> On Tue, 30 Aug 2011, Tomáš Chvátal wrote:
> See the attachment for the latest version :)
> # @FUNCTION: office-ext_get_implementation
> [...]
> for i in "${implementations[$@]}"; do
I think this should read "${implementations[@]}" instead, if the
intention is to loop over all array elements.
> # @FUNCTION: office-ext_remove_extension
> [...]
> ${UNOPKG_BINARY} remove --shared "${ext}" \
Not sure what unopkg accepts, but I guess you want to pass several
arguments here. So ${ext} shouldn't be quoted.
And why is the intermediate variable ext needed here, in the first
place? You could use "$@" directly (this time, with the quotes).
> # @FUNCTION: office-ext_src_install
> [...]
> # subshell to not polute rest of the env with the insinto redefinition
s/polute/pollute/
> for i in "${OO_EXTENSIONS[$@]}"; do
See above about $@.
> # @FUNCTION: office-ext_pkg_postinst
> [...]
> for i in "${OO_EXTENSIONS[$@]}"; do
Ditto.
> # @FUNCTION: office-ext_pkg_prerm
> [...]
> for i in "${OO_EXTENSIONS[$@]}"; do
Ditto.
Ulrich
next prev parent reply other threads:[~2011-08-30 7:03 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 7:11 [gentoo-dev] [RFC] office-ext.eclass Tomáš Chvátal
2011-08-29 7:20 ` Maxim Koltsov
2011-08-29 7:31 ` Tomáš Chvátal
2011-08-29 8:24 ` Maxim Koltsov
2011-08-29 8:36 ` Tomáš Chvátal
2011-08-29 8:57 ` Maxim Koltsov
2011-08-29 11:19 ` Tomáš Chvátal
2011-08-30 23:09 ` [gentoo-dev] " Jonathan Callen
[not found] ` <20110830231700.8675321C1B9@pigeon.gentoo.org>
2011-08-31 8:13 ` Tomáš Chvátal
2011-08-29 7:24 ` [gentoo-dev] " Michał Górny
2011-08-29 7:39 ` Tomáš Chvátal
2011-08-29 7:43 ` Tomáš Chvátal
2011-08-29 8:12 ` Michał Górny
2011-08-29 8:35 ` Tomáš Chvátal
2011-08-29 9:11 ` Michał Górny
2011-08-29 19:24 ` Nathan Phillip Brink
2011-08-29 20:39 ` Fabian Groffen
2011-08-30 6:27 ` Tomáš Chvátal
2011-08-30 7:02 ` Ulrich Mueller [this message]
2011-08-30 7:26 ` Tomáš Chvátal
2011-08-30 7:49 ` Michał Górny
2011-08-30 8:05 ` Tomáš Chvátal
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=20060.35609.691205.374044@a1i15.kph.uni-mainz.de \
--to=ulm@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