Bug#901185: me too

Andreas Metzler ametzler at bebt.de
Sun Jun 10 10:35:30 BST 2018


On 2018-06-10 Eric Valette <eric.valette at free.fr> wrote:
> On 6/10/18 10:51 AM, Eric Valette wrote:
>> On 6/10/18 10:34 AM, Eric Valette wrote:
 
>>> line 330 :export dc_directives ${dc_directives}

>> Shodul be export dc_directives=${dc_directives} as far as I understand.
[...]
> and it worked. But I still think there is a non portable syntax line 330 of
> exim4-config.postins.

Hello,

That is not invalid syntax, export takes a list of shell-local variables
(and *optionally* value assignments like foo=bar) and exports the list
of local varaiables. dc_directives contains a list of variables
(dc_eximconfig_configtype et al.) and

export dc_directives ${dc_directives}

exports both dc_directives and any variable listed in dc_directives,
i.e. any external command will see both ${dc_directives} and
${dc_eximconfig_configtype} et al.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-exim4-maintainers mailing list