public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Should ${T} be defined in pkg_prepare ?
Date: Sat, 31 Mar 2012 14:24:01 -0700	[thread overview]
Message-ID: <4F7775F1.3030805@gentoo.org> (raw)
In-Reply-To: <20343.28551.166484.197058@a1i15.kph.uni-mainz.de>

On 03/31/2012 01:56 PM, Ulrich Mueller wrote:
>>>>>> On Sat, 31 Mar 2012, Tiziano Müller wrote:
>> and since "pkg_pretend is run separately from the main phase
>> function sequence, and does not participate in any kind of
>> environment saving" it is not guaranteed to be set to the same $T
>> later.
> 
> The problem is that apart from T (and maybe HOME), there seems to be
> no other directory that check_reqs.eclass could use for its disk space
> check in pkg_pretend. WORKDIR doesn't exist in pkg_* phases.

How about PWD?
-- 
Thanks,
Zac



  reply	other threads:[~2012-03-31 21:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31 12:10 [gentoo-dev] Should ${T} be defined in pkg_prepare ? Maciej Grela
2012-03-31 12:44 ` Ulrich Mueller
2012-03-31 15:36   ` Tiziano Müller
2012-03-31 20:56     ` Ulrich Mueller
2012-03-31 21:24       ` Zac Medico [this message]
2012-04-01  8:29         ` Ulrich Mueller
2012-04-01 18:49           ` Zac Medico
2012-03-31 21:01     ` Francesco Riosa
2012-04-01 18:55 ` Ciaran McCreesh
2012-04-01 20:13   ` Maciej Grela
2012-04-01 20:47   ` Michał Górny
2012-04-01 21:00     ` Ciaran McCreesh

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=4F7775F1.3030805@gentoo.org \
    --to=zmedico@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