Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] Re: [PATCH 0/5] toolchain.eclass: Prefix patches, Cygwin related
Date: Fri, 22 Jun 2018 12:01:38
Message-Id: 72ce301e-d857-593f-e41c-68bd22dc7acf@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/5] toolchain.eclass: Prefix patches, Cygwin related by Michael Haubenwallner
1 On 06/20/2018 07:49 PM, Michael Haubenwallner wrote:
2 > Hi,
3 >
4 > please review these patches we have in prefix-overlay,
5 > where patches 3-5 are for Gentoo Prefix on Cygwin.
6
7 Thanks for the reviews, will reorder to account for EAPI 7 paths first.
8
9 One minor thing still unclear to me, beyond no _leading_ double slash:
10 Do we try hard to avoid redundant slashes _in between_ too?
11
12 Thoughts behind this question:
13 Beyond the eventual trailing slash, the {,E,SYS,ESYS,B}ROOT variables
14 may be empty, so Cygwin really requires the ${%/} modifier for them
15 to not end up with a network location by accident (in EAPI before 7).
16
17 But D,ED are not expected to be empty, and the ${%/} modifier will avoid
18 an extra slash _in between_ only, not a leading one.
19
20 So with D,ED the ${%/} modifier feels needless, reducing readability only.
21
22 Just wondering if we have some guidance here,
23 /haubi/