Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Cleaning up PMS to have ${D} not end with a slash
Date: Sun, 14 Apr 2013 16:40:01
Message-Id: 20130414173944.40e13591@googlemail.com
In Reply to: Re: [gentoo-dev] [RFC] Cleaning up PMS to have ${D} not end with a slash by "Michał Górny"
1 On Sun, 14 Apr 2013 16:58:07 +0200
2 Michał Górny <mgorny@g.o> wrote:
3 > On Sun, 14 Apr 2013 15:22:42 +0100
4 > Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote:
5 > > On Sat, 13 Apr 2013 23:23:57 +0200
6 > > Michał Górny <mgorny@g.o> wrote:
7 > > > As most of you probably doesn't know, PMS guarantees that ${D}
8 > > > always ends with a slash. It seems that this particular wording
9 > > > was enforced by historical portage behavior (instead of fixing
10 > > > the ebuilds...) yet it didn't ever get really widespread.
11 > >
12 > > Should ROOT usually be empty then?
13 >
14 > Considering its use, probably yes.
15 >
16 > ${ROOT}/usr/bin/foo
17 > ${EPREFIX}/usr/bin/foo
18 > ${D}${EPREFIX}/usr/bin/foo
19 >
20 > All seem clean and consistent to me.
21
22 How many things test whether ROOT=/ ? I seem to recall that being
23 fairly common, back when something accidentally set it to //.
24
25 --
26 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies