Gentoo Archives: gentoo-dev

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

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] [RFC] Cleaning up PMS to have ${D} not end with a slash Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>