Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490920 - Gentoo Prefix Techdocs define ED and EROOT incorrectly
Summary: Gentoo Prefix Techdocs define ED and EROOT incorrectly
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Project-specific documentation (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL: http://www.gentoo.org/proj/en/gentoo-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-10 09:42 UTC by William Throwe
Modified: 2013-11-11 20:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Throwe 2013-11-10 09:42:43 UTC
http://www.gentoo.org/proj/en/gentoo-alt/prefix/techdocs.xml#doc_chap2 (referenced for ED and EROOT info from the devmanual) says that

${ED} is ${D}${EPREFIX}/
${EROOT} is ${ROOT}${EPREFIX}

but PMS (which portage agrees with) says

${ED} is ${D%/}${EPREFIX}/
${EROOT} is ${ROOT%/}${EPREFIX}/


While these refer to the same directories, the distinction matters when people try to manipulate paths as strings (e.g. in bug #434956, where code is expecting ${EROOT#${ROOT}} to give ${EPREFIX}).
Comment 1 Fabian Groffen gentoo-dev 2013-11-11 20:59:46 UTC
fix (and update) committed, thanks