From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0D14A1381F3 for ; Sun, 14 Apr 2013 16:58:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D5D3E0B20; Sun, 14 Apr 2013 16:58:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77D6CE0AF4 for ; Sun, 14 Apr 2013 16:58:13 +0000 (UTC) Received: from pomiocik.lan (178-37-171-226.adsl.inetia.pl [178.37.171.226]) (using SSLv3 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 829E333DB6E; Sun, 14 Apr 2013 16:58:11 +0000 (UTC) Date: Sun, 14 Apr 2013 18:59:19 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: ciaran.mccreesh@googlemail.com Subject: Re: [gentoo-dev] [RFC] Cleaning up PMS to have ${D} not end with a slash Message-ID: <20130414185919.5c9d8632@pomiocik.lan> In-Reply-To: <20130414173944.40e13591@googlemail.com> References: <20130413232357.0711438b@pomiocik.lan> <20130414152242.4d11d71b@googlemail.com> <20130414165807.584e8a85@pomiocik.lan> <20130414173944.40e13591@googlemail.com> Organization: Gentoo X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/Tk1vNow.lcGOxaB0DspyYvo"; protocol="application/pgp-signature" X-Archives-Salt: 524d992c-6807-490c-8b88-f3039067e2ed X-Archives-Hash: b7b5f80c879c5422924ed0315dd3196b --Sig_/Tk1vNow.lcGOxaB0DspyYvo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 14 Apr 2013 17:39:44 +0100 Ciaran McCreesh wrote: > On Sun, 14 Apr 2013 16:58:07 +0200 > Micha=C5=82 G=C3=B3rny wrote: > > On Sun, 14 Apr 2013 15:22:42 +0100 > > Ciaran McCreesh wrote: > > > On Sat, 13 Apr 2013 23:23:57 +0200 > > > Micha=C5=82 G=C3=B3rny 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. > > >=20 > > > Should ROOT usually be empty then? > >=20 > > Considering its use, probably yes. > >=20 > > ${ROOT}/usr/bin/foo > > ${EPREFIX}/usr/bin/foo > > ${D}${EPREFIX}/usr/bin/foo > >=20 > > All seem clean and consistent to me. >=20 > How many things test whether ROOT=3D/ ? 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. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/Tk1vNow.lcGOxaB0DspyYvo Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQJ8BAEBCgBmBQJRauBnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RUJGMjBGOTk2RkIzQzIyQ0M2RkNBNDBC QUJGMUQ1RkY4QzgxMTBBAAoJELq/HV/4yBEK0g0P/A2EioxPNWmY+z2GK/W/vCot SDHENhsXNA40z83XuBvgxFl6LLhzylPo77h5CPJsJ3Mpb9maRLfcJ0nS7Quo31Yb tyn2P6Jf/yzfWuCECl34O2j6gcqVYybjT6QkUX4dgJWX+1VmIctcLI9l2E2nzEkj C7OFrvHtEVq2/DNaSq6k6xD4wg5zgxz5x8GiZb36fyml1TLuNxgsx+eFm0kDgday RMoI3yXNFVsBrZm8ah+RSw+EsAr73yfnYUYCAh7+hqTYRWNnxo8EFbkfp+NYMLoQ D4ND1+r5Bhiqm8OzE/KwNmcvdNcXtseDxtnGv/QUbHhWzLrNQRCrJzq3R+ClT1sn t7Oy7BmM2xEjuhhURdxy1p0B5Rx8MXm+6Mtn7fRAZO6M30I3sjYEZsGyLU0klqVJ 8ncKdGnj2rHV375hcnDlqwKvOq94qRIrh8Xe5RP+xlBKiIFx/Z0/rBQOWzeOn8i4 xM783XEnNLJlbZvQD84yqI/j24K5PDcjB3FG8pmHv/as+ehbQe9v+2/7oEE/0S8L hhKx5SNUrr0qAuO5zexiozv74mO9qVcbiHAe2Ui6fpDXziKlmwyCdzC9PICgL58W CtBKZMTq2TZRKucVT0hOHTZ846MFgqEC4+dHKwGXxWAGG3YNG5H1F57OPX7xeBT4 4dqxdbxM54KXiZgh61Na =fO9O -----END PGP SIGNATURE----- --Sig_/Tk1vNow.lcGOxaB0DspyYvo--