From f13e419e74e9375194032e75ff0f0e2f9b17dd2d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 27 Jun 2007 03:25:10 +0000 Subject: [PATCH] Format the callstack indentation more like it used to be. (trunk r7050) svn path=/main/branches/2.1.2/; revision=7051 --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.26.2