public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in rox-base/rox-clib: ChangeLog rox-clib-2.1.10.ebuild
Date: Sat, 8 Dec 2007 23:19:35 -0800	[thread overview]
Message-ID: <20071209071934.GA4162@supernova> (raw)
In-Reply-To: <20071207101615.2c028f61@altair.jimramsay.com>

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?).

Thanks,
Donnie
-- 
gentoo-dev@gentoo.org mailing list



      reply	other threads:[~2007-12-09  7:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1J0J2N-0002lC-4B@stork.gentoo.org>
2007-12-06 23:46 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in rox-base/rox-clib: ChangeLog rox-clib-2.1.10.ebuild Donnie Berkholz
2007-12-07 15:16   ` Jim Ramsay
2007-12-09  7:19     ` Donnie Berkholz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071209071934.GA4162@supernova \
    --to=dberkholz@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox