From: Zac Medico <zmedico@gentoo.org>
To: Bertrand Jacquin <bertrand@jacquin.bzh>,
gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] [PATCHv3 1/2] MEDIUM: misc-functions: Be more quiet when removing non existing INSTALL_MASK
Date: Wed, 22 Apr 2015 18:43:26 -0700 [thread overview]
Message-ID: <55384E3E.9020104@gentoo.org> (raw)
In-Reply-To: <5cac28faa26324f08cc2bba6a17583e3@mail.meleeweb.net>
On 04/22/2015 04:44 PM, Bertrand Jacquin wrote:
> On 21/04/2015 01:37, Zac Medico wrote:
>> On 04/20/2015 05:31 PM, Bertrand Jacquin wrote:
>>> On 21/04/2015 00:39, Zac Medico wrote:
>>>> These are in the master branch now:
>>>>
>>>> https://gitweb.gentoo.org/proj/portage.git/commit/?id=5a1b870fe54ac06f864a648c3ea5cc118f6ce911
>>>>
>>>>
>>>> https://gitweb.gentoo.org/proj/portage.git/commit/?id=e74e2670e3f043608fced9847e54bdbb19f35169
>>>>
>>>>
>>>
>>> Thanks for that :)
>>>
>>>> I modified the test as follows in order to ensure that it still works
>>>> with shell globs:
>>>>
>>>> if [[ -e "${root}"/${no_inst} || "${root}"/${no_inst} != $(echo
>>>> "${root}"/${no_inst}) ]] ; then
>>>
>>> I do not really understand the use case here, do you have an example ?
>>>
>>> Cheers,
>>>
>>
>> Well, I don't use INSTALL_MASK myself, so I don't have a real-world
>> use-case for you. However, it's clear that the code will expand shell
>> globs, so I preserved that behavior for compatibility.
>
> Sorry Zac, I was speaking about the $(echo ..), what does it bring to
> use it here ?
>
> Cheers,
>
It's a way to check the result of check the result of shell glob
expansion. The rm call that follows will be subject to identical expansion.
--
Thanks,
Zac
prev parent reply other threads:[~2015-04-23 1:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-20 19:45 [gentoo-portage-dev] [PATCHv3 1/2] MEDIUM: misc-functions: Be more quiet when removing non existing INSTALL_MASK Bertrand Jaquin
2015-04-20 19:46 ` [gentoo-portage-dev] [PATCHv3 2/2] MEDIUM: misc-functions: Be more verbose when removing INSTALL_MASK glob Bertrand Jaquin
2015-04-20 23:39 ` [gentoo-portage-dev] [PATCHv3 1/2] MEDIUM: misc-functions: Be more quiet when removing non existing INSTALL_MASK Zac Medico
2015-04-21 0:31 ` Bertrand Jacquin
2015-04-21 0:37 ` Zac Medico
2015-04-21 9:48 ` [gentoo-portage-dev] " Duncan
2015-04-21 11:21 ` Michael Orlitzky
2015-04-21 17:28 ` Zac Medico
2015-04-21 19:08 ` Michael Orlitzky
2015-04-21 19:20 ` Zac Medico
2015-04-21 17:27 ` Zac Medico
2015-04-21 17:30 ` Zac Medico
2015-04-22 23:44 ` [gentoo-portage-dev] " Bertrand Jacquin
2015-04-23 1:43 ` Zac Medico [this message]
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=55384E3E.9020104@gentoo.org \
--to=zmedico@gentoo.org \
--cc=bertrand@jacquin.bzh \
--cc=gentoo-portage-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