FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 09-07-2012, 09:09 PM
Zac Medico
 
Default ROOT, EROOT, and EPREFIX in scripts

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
 

Thread Tools




All times are GMT. The time now is 11:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org