gentoo-x86 commit in rox-base/rox-clib: ChangeLog rox-clib-2.1.10.ebuild
On 10:16 Fri 07 Dec , Jim Ramsay wrote:
> Donnie Berkholz <firstname.lastname@example.org> 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
> 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
email@example.com mailing list