[tex-live] TLU update fails (non-corporate MacOS machine)
Uri Blumenthal
uri at mit.edu
Mon Jul 30 06:19:44 CEST 2018
No offence meant, but this (such a sanitization) is crazy.
Sent from my test iPhone
> On Jul 29, 2018, at 22:53, Adam R. Maxwell <amaxwell at mac.com> wrote:
>
>
>
>> On Jun 21, 2018, at 19:55 , Norbert Preining <preining at logic.at> wrote:
>>
>> On Thu, 21 Jun 2018, Adam R. Maxwell wrote:
>>>> How do I tell TLU to use /usr/local/MacGPG2/bin/gpg2?
>>>
>>> Hack TLCrypto.pm or TLU yourself.
>>
>> No need.
>>
>> It already does:
>> * check for TL_GNUPG env var
>> * check for gpg in the PATH
>> * check for gpg2 in the PATH
>> * check for TL shipped gpg if available
>
> The last is the only one that will work for TLU, FYI, unless
> gpg or gpg2 is in /usr/bin. I sanitize the PATH pretty
> heavily, and no longer allow even /usr/local/bin due to ancient
> broken stuff that users keep in it. TL_GNUPG env var should
> work if you know how to make GUI processes inherit it.
> Anyone who is interested in why I do this can read the comments
> in TLMEnvironment.m.
>
> https://github.com/amaxwell/tlutility/blob/master/TLMEnvironment.m
>
> -- adam
>
More information about the tex-live
mailing list