Re: [gentoo-dev] Re: evar_push/pop helpers

2013-06-17 Thread Mike Frysinger
On Monday 17 June 2013 01:42:15 Mike Frysinger wrote: > On Sunday 02 June 2013 13:38:04 Steven J. Long wrote: > > On Sat, Jun 01, 2013 at 11:03:20PM -0400, Mike Frysinger wrote: > > > +# is not specified, the var will be unset. > > > +evar_push_set() { > > > + local var=$1 > > > + evar_push ${var}

Re: [gentoo-dev] Re: evar_push/pop helpers

2013-06-16 Thread Mike Frysinger
On Sunday 02 June 2013 13:38:04 Steven J. Long wrote: > On Sat, Jun 01, 2013 at 11:03:20PM -0400, Mike Frysinger wrote: > > --- eutils.eclass 22 May 2013 05:10:29 - 1.421 > > +++ eutils.eclass 2 Jun 2013 03:00:46 - > > @@ -146,6 +146,77 @@ estack_pop() { > > eval unset ${__esta

[gentoo-dev] Re: evar_push/pop helpers

2013-06-02 Thread Steven J. Long
On Sat, Jun 01, 2013 at 11:03:20PM -0400, Mike Frysinger wrote: > simple set of helpers to save/restore a variable in a limited section of code > > you can see an example of it in action at the end of the file where i need to > tweak epatch (and no, doing `LC_COLLATE=C set -- ` does not work).