FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

LinkBack Thread Tools
Old 12-09-2007, 06:19 AM
Donnie Berkholz
Default 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 <dberkholz@gentoo.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
> 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?).

gentoo-dev@gentoo.org mailing list

Thread Tools

All times are GMT. The time now is 02:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org