From: Zac Medico Date: Wed, 27 Jun 2007 03:25:10 +0000 (-0000) Subject: Format the callstack indentation more like it used to be. (trunk r7050) X-Git-Tag: v2.1.3~134 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f13e419e74e9375194032e75ff0f0e2f9b17dd2d;p=portage.git Format the callstack indentation more like it used to be. (trunk r7050) svn path=/main/branches/2.1.2/; revision=7051 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 2dbe7cf9f..332713e74 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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 }