Format the callstack indentation more like it used to be. (trunk r7050)
authorZac Medico <zmedico@gentoo.org>
Wed, 27 Jun 2007 03:25:10 +0000 (03:25 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 27 Jun 2007 03:25:10 +0000 (03:25 -0000)
svn path=/main/branches/2.1.2/; revision=7051

bin/ebuild.sh

index 2dbe7cf9f163792a73b18c670a0facf8d17957f7..332713e743be49aab1526392bc37b2326ca61a60 100755 (executable)
@@ -287,7 +287,7 @@ diefunc() {
        eerror
        eerror "ERROR: $CATEGORY/$PF failed."
        dump_trace 2
-       eerror "$(basename "${BASH_SOURCE[1]}"), line ${BASH_LINENO[0]}:   Called die"
+       eerror "  ${BASH_SOURCE[1]##*/}, line ${BASH_LINENO[0]}:   Called die"
        eerror
        eerror "${*:-(no error message)}"
        eerror "If you need support, post the topmost build error, and the call stack if relevant."
@@ -343,7 +343,7 @@ dump_trace() {
                        done
                        (( p -= ${BASH_ARGC[${n} - 1]} ))
                fi
-               eerror "${sourcefile}, line ${lineno}: Called ${funcname}${args:+ ${args}}"
+               eerror "  ${sourcefile}, line ${lineno}:   Called ${funcname}${args:+ ${args}}"
        done
 }