summaryrefslogtreecommitdiffstats
path: root/bin/isolated-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-26 04:40:44 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-26 04:40:44 +0000
commit5de57274e85d8283dd36249ab2bd0b762fb3cf6a (patch)
tree82a83baf8d0f6293bd6c73b150e53f70212dc697 /bin/isolated-functions.sh
parent713572f854e255ed81cb272da977291699b059d9 (diff)
downloadportage-5de57274e85d8283dd36249ab2bd0b762fb3cf6a.tar.gz
portage-5de57274e85d8283dd36249ab2bd0b762fb3cf6a.tar.bz2
portage-5de57274e85d8283dd36249ab2bd0b762fb3cf6a.zip
Make diefunc() show the path of ${T}/environment since it's usually
in the stack trace and the user is likely to be interested in it. (trunk r8678) svn path=/main/branches/2.1.2/; revision=8679
Diffstat (limited to 'bin/isolated-functions.sh')
-rw-r--r--bin/isolated-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 446df8309..ae418389d 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -98,6 +98,8 @@ diefunc() {
eerror "If you need support, post the topmost build error, and the call stack if relevant."
[[ -n ${PORTAGE_LOG_FILE} ]] \
&& eerror "A complete build log is located at '${PORTAGE_LOG_FILE}'."
+ [ -f "${T}/environment" ] && \
+ eerror "The ebuild environment file is located at '${T}/environment'."
if [[ -n ${EBUILD_OVERLAY_ECLASSES} ]] ; then
eerror "This ebuild used the following eclasses from overlays:"
local x