>>>>> On Sat, 31 Mar 2012, Zac Medico wrote:

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

No sure. Do all package managers set it to a parent dir of WORKDIR
in pkg_pretend?

At least PMS doesn't say so:

| 10.1.1 Initial Working Directories
| [...] it may be set to anything and the ebuild must not rely upon
| a particular location for it.

Ulrich

Reply via email to