Make diefunc() show the path of ${T}/environment since it's usually
authorZac Medico <zmedico@gentoo.org>
Mon, 26 Nov 2007 04:40:44 +0000 (04:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 26 Nov 2007 04:40:44 +0000 (04:40 -0000)
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

bin/isolated-functions.sh

index 446df8309a33aa227f2951ae89fc2fb7026b7505..ae418389d15871078d54c03e8c55944642009eac 100644 (file)
@@ -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