how to refactor path duplication in .mrconfig section headers?

Adam Spiers vcs-home at adamspiers.org
Sat Oct 29 02:48:13 CEST 2011


On Fri, Oct 28, 2011 at 5:40 PM, Pieter Praet <pieter at praet.org> wrote:
>> However this doesn't work - I'm guessing that variable expansion in
>> the section headers is done in Perl, so is not influenced by the
>> shell-code in the DEFAULT lib?
>>
>> So is there any other way of avoiding this duplication?
>
> This should do the trick:
>
>  [DEFAULT]
>  lib = export MR_GIT=$HOME/.git-repos
>        ^^^^^^

That was the first thing I tried, but I'm pretty sure it didn't work,
hence my guess above.


More information about the vcs-home mailing list