On Sun, 14 Apr 2013 17:39:44 +0100 Ciaran McCreesh <ciaran.mccre...@googlemail.com> wrote:
> On Sun, 14 Apr 2013 16:58:07 +0200 > Michał Górny <mgo...@gentoo.org> wrote: > > On Sun, 14 Apr 2013 15:22:42 +0100 > > Ciaran McCreesh <ciaran.mccre...@googlemail.com> wrote: > > > On Sat, 13 Apr 2013 23:23:57 +0200 > > > Michał Górny <mgo...@gentoo.org> wrote: > > > > As most of you probably doesn't know, PMS guarantees that ${D} > > > > always ends with a slash. It seems that this particular wording > > > > was enforced by historical portage behavior (instead of fixing > > > > the ebuilds...) yet it didn't ever get really widespread. > > > > > > Should ROOT usually be empty then? > > > > Considering its use, probably yes. > > > > ${ROOT}/usr/bin/foo > > ${EPREFIX}/usr/bin/foo > > ${D}${EPREFIX}/usr/bin/foo > > > > All seem clean and consistent to me. > > How many things test whether ROOT=/ ? I seem to recall that being > fairly common, back when something accidentally set it to //. Yes, that sucks a fair bit. There are many ebuilds doing that, and most of those ebuilds append additional slash after it anyway... we really suck at consistency. -- Best regards, Michał Górny
signature.asc
Description: PGP signature