For bug #88485, show the location of the build log whenever a build fails.
authorZac Medico <zmedico@gentoo.org>
Fri, 12 Jan 2007 05:52:54 +0000 (05:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 12 Jan 2007 05:52:54 +0000 (05:52 -0000)
svn path=/main/trunk/; revision=5590

bin/ebuild.sh

index 7dc3cc95e82ddf7731bb6135e27d77a4a685fa47..caf3719404b1a4998aa962c53e02372f8734fcde 100755 (executable)
@@ -279,6 +279,7 @@ diefunc() {
        echo >&2
        echo "!!! ${*:-(no error message)}" >&2
        echo "!!! If you need support, post the topmost build error, and the call stack if relevant." >&2
+       echo "!!! A complete build log is located at '${PORTAGE_LOG_FILE}'." >&2
        echo >&2
        if [ -n "${EBUILD_OVERLAY_ECLASSES}" ] ; then
                echo "This ebuild used the following eclasses from overlays:" >&2