On 10:16 Fri 07 Dec     , Jim Ramsay wrote:
> Donnie Berkholz <[EMAIL PROTECTED]> wrote:
> > Instead of these subshells to save the original directory, a more
> > common technique is pushd/popd. Another possibility is 'cd foo;
> > stuff; cd -', but that doesn't stack.
> 
> That's an excellent idea, I'll update these to not use subshells in the
> future.
> 
> Is there some sort of equivalent way to back-out of whatever 'insinto'
> does to the environment?

You're kinda stuck with subshells if you have to change install 
directories in an eclass.

You could theoretically save the variable set by running insinto() and 
later restore it, but I'm not sure that's supposed to be part of the API 
(check PMS?).

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list

Reply via email to