From 75768ea8c922c0266829458025e4b2d35ff49804 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 8 Nov 2011 16:21:07 -0800 Subject: Include EPREFIX directories in PATH. This relocates the PATH generation code from ebuild.sh to doebuild_environment, which helps to eliminate duplicate code. --- bin/phase-functions.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/phase-functions.sh') 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}'\`" -- cgit v1.2.3-1-g7c22