summaryrefslogtreecommitdiffstats
path: root/bin/isolated-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-26 04:40:06 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-26 04:40:06 +0000
commit0dd1d32ce6202854057fc5ba725174ca3b9c3c31 (patch)
treea35db514a1b116ed99c88a0c9f4c7a03dad142dc /bin/isolated-functions.sh
parent21a1986c22eccf2a40e4a8395b3318928c5c71d8 (diff)
downloadportage-0dd1d32ce6202854057fc5ba725174ca3b9c3c31.tar.gz
portage-0dd1d32ce6202854057fc5ba725174ca3b9c3c31.tar.bz2
portage-0dd1d32ce6202854057fc5ba725174ca3b9c3c31.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. svn path=/main/trunk/; revision=8678
Diffstat (limited to 'bin/isolated-functions.sh')
-rwxr-xr-xbin/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 100755
--- 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