Re: [gentoo-dev] ROOT, EROOT, and EPREFIX in scripts (was: relative ROOT: correct behavior when ROOT=)

2012-09-07 Thread Gregory M. Turner
On 9/6/2012 5:56 AM, Ian Stakenvicius wrote: On 06/09/12 03:55 AM, Ulrich Mueller wrote: On Thu, 06 Sep 2012, Gregory M Turner wrote: ${ROOT:=/} EPREFIX=@GENTOO_PORTAGE_EPREFIX@ EROOT=${ROOT}${EPREFIX} When ROOT is undefined or empty, this script will assign //foo to EROOT and bad things

Re: [gentoo-dev] ROOT, EROOT, and EPREFIX in scripts

2012-09-07 Thread Zac Medico
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