>>>>> On Mon, 19 May 2014, Jeroen Roovers wrote:

> Are you sure this is useful?

>> elisp-site-regen() {
> [...]
>> -    if [[ ! -d ${T} ]]; then
>> -            eerror "elisp-site-regen: Temporary directory ${T} does not 
>> exist"
>> -            return 1
>> -    fi

> "The package manager must define the following environment variables.

> [...]

> "T [...]The full path to a temporary directory for use by the
> ebuild."[1]

So is the theory. The test exists because this wasn't always the case
in practice [2].

I'd rather leave it there, because if T is empty then files will be
written to / instead. There is no sandbox in post{inst,rm}, so being
extra careful won't harm.

Ulrich

> [1] http://dev.gentoo.org/~ulm/pms/5/pms.html#x1-11800011.1
[2] http://paludis.exherbo.org/trac/ticket/517

Attachment: pgpUCeXkd0GEx.pgp
Description: PGP signature

Reply via email to