On 09/07/2012 01:50 PM, Gregory M. Turner wrote: > Indeed, most ebuilds do this correctly although occasionally I've seen > exceptions. My overlay is for Prefix so it "lucks out" if ebuild > authors forget this and add the slash; but if/when non-prefix cygwin > support is resuscitated in Gentoo, all of those extra slashes need to be > fixed "or else."
So, just submit patches to the relevant maintainers. If their code adds an extra slash then it's easy to fix by replacing ${ROOT} with ${ROOT%/}, and then it will work correctly regardless of whether ${ROOT} contains a trailing slash. -- Thanks, Zac