Re: [gentoo-dev] relative ROOT: correct behavior when ROOT=

2012-09-06 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/09/12 03:55 AM, Ulrich Mueller wrote: >> On Thu, 06 Sep 2012, Gregory M Turner wrote: > >> Hello, in my overlay I need to fix a bunch of issues that crop up >> when implementing EPREFIX construction in scripts due to Cygwin's >> idiosyncr

Re: [gentoo-dev] relative ROOT: correct behavior when ROOT=

2012-09-06 Thread Gregory M. Turner
On 9/6/2012 12:55 AM, Ulrich Mueller wrote: On Thu, 06 Sep 2012, Gregory M Turner wrote: Several correct-ish solutions exist, i.e., in the above we could change the concatenation statement to read: EROOT="${ROOT}${EPREFIX#/}" I'd rather do it the other way around: EROOT=${ROOT%/}${EPREFIX}

Re: [gentoo-dev] relative ROOT: correct behavior when ROOT=

2012-09-06 Thread Ulrich Mueller
> On Thu, 06 Sep 2012, Gregory M Turner wrote: > Hello, in my overlay I need to fix a bunch of issues that crop up when > implementing EPREFIX construction in scripts due to Cygwin's > idiosyncratic, but POSIX-compliant, handling of paths beginning with > "//" (Cygwin does some arguably pat

[gentoo-dev] relative ROOT: correct behavior when ROOT=

2012-09-06 Thread Gregory M. Turner
Hello, in my overlay I need to fix a bunch of issues that crop up when implementing EPREFIX construction in scripts due to Cygwin's idiosyncratic, but POSIX-compliant, handling of paths beginning with "//" (Cygwin does some arguably pathological stuff when such paths are used). Almost all of