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/ |