public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: Zac Medico <zmedico@gentoo.org>, gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] Re: [PATCHv3 1/2] MEDIUM: misc-functions: Be more quiet when removing non existing INSTALL_MASK
Date: Tue, 21 Apr 2015 10:30:35 -0700	[thread overview]
Message-ID: <5536893B.7030904@gentoo.org> (raw)
In-Reply-To: <5536889E.5050200@gentoo.org>

On 04/21/2015 10:27 AM, Zac Medico wrote:
> On 04/21/2015 02:48 AM, Duncan wrote:
>> Zac Medico posted on Mon, 20 Apr 2015 17:37:15 -0700 as excerpted:
>>
>>> 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.
>>
>> I do, with shell globs, tho I didn't bother checking the above to see if 
>> they'd have been affected.
>>
>> The two install-masks with globs I use here are:
>>
>> *.la
> 
> Since it doesn't have an absolute path, this glob is handled by the
> find/rm code which comes just after the shell glob code that I was
> talking about.
> 
>> (Unmasked on libtool itself, since it has a *.la file that other 
>> package's .configure scripts test for.)
>>
>> /etc/cron.*/
>>
>> (I use systemd's timers in place of cron and thus crontablets.)
> 
> This is absolute, so it is handled by the shell glob code in question.
> 

Oh, I see what you mean now. It's reconciled by a temporary 'set -o
noglob', followed by 'set +o noglob'.

-- 
Thanks,
Zac


  reply	other threads:[~2015-04-21 17:30 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 [this message]
2015-04-22 23:44       ` [gentoo-portage-dev] " Bertrand Jacquin
2015-04-23  1:43         ` Zac Medico

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=5536893B.7030904@gentoo.org \
    --to=zmedico@gentoo.org \
    --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