From 7c80b60cca2460694732069475e794b2120470e0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 27 Jun 2007 03:21:30 +0000 Subject: Format the callstack indentation more like it used to be. svn path=/main/trunk/; revision=7050 --- bin/isolated-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 161937734..f95b207fd 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -37,7 +37,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 } @@ -47,7 +47,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." -- cgit v1.2.3-1-g7c22