Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170804 - document initial working directories for each ebuild phase
Summary: document initial working directories for each ebuild phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 23:43 UTC by SpanKY
Modified: 2007-03-13 23:52 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 SpanKY gentoo-dev 2007-03-13 23:43:47 UTC
src_unpack: $WORKDIR
src_compile: $S
src_test: $S
src_install: $S
if $S does not exist, then the default should be $WORKDIR

as for the pkg_* functions, no ebuild should rely on their initial directory (portage defaults to $PWD that `emerge` is run in last i looked and that certainly is useless to ebuilds)
Comment 1 Stephen Bennett (RETIRED) gentoo-dev 2007-03-13 23:52:05 UTC
r90