diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-11-08 16:21:07 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-11-08 16:21:07 -0800 |
commit | 75768ea8c922c0266829458025e4b2d35ff49804 (patch) | |
tree | 00b37324920b51bd09e9554f9967b979d17e4c65 /bin/phase-functions.sh | |
parent | 62a402337c6d43c448ff0b5657ada26ff004d421 (diff) | |
download | portage-75768ea8c922c0266829458025e4b2d35ff49804.tar.gz portage-75768ea8c922c0266829458025e4b2d35ff49804.tar.bz2 portage-75768ea8c922c0266829458025e4b2d35ff49804.zip |
Include EPREFIX directories in PATH.
This relocates the PATH generation code from ebuild.sh to
doebuild_environment, which helps to eliminate duplicate code.
Diffstat (limited to 'bin/phase-functions.sh')
-rw-r--r-- | bin/phase-functions.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index f46368d68..a686dcdc7 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -229,6 +229,7 @@ dyn_unpack() { return 0 fi if [ ! -d "${WORKDIR}" ]; then + echo PATH=$PATH install -m${PORTAGE_WORKDIR_MODE:-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'" fi cd "${WORKDIR}" || die "Directory change failed: \`cd '${WORKDIR}'\`" |