toolchain.eclass: EAPI 7 aware for D,ED,ROOT,EROOT
authorMichael Haubenwallner <haubi@gentoo.org>
Thu, 21 Jun 2018 13:20:10 +0000 (15:20 +0200)
committerMichael Haubenwallner <haubi@gentoo.org>
Mon, 9 Jul 2018 16:20:08 +0000 (18:20 +0200)
commitc3e6586e21f32f3da585b7e0ff8ea732c5bd7e66
treec577f4dd1d21a90db0efdcd4b5fa8e1f84e2cad4
parent85bc306a7b9b43dba6a82b7fbcfd68063438387b
toolchain.eclass: EAPI 7 aware for D,ED,ROOT,EROOT

These variables may or may not have the trailing slash. Additionally,
avoid leading double slash (a network location for Cygwin) with ROOT and
EROOT because they may be empty, while D and ED never should be empty
and there is no reason so far to avoid double slashes in between.
On the other hand, eclass variables like DATAPATH and LIBPATH do contain
the leading slash, so an extra slash reduces readability for no reason.
eclass/toolchain.eclass