diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-06-27 03:25:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-06-27 03:25:10 +0000 |
commit | f13e419e74e9375194032e75ff0f0e2f9b17dd2d (patch) | |
tree | bb9a33dff710aa97d2e10d49cd8f9a72ff70a6c7 | |
parent | 7a3de7b22f6f4a4b65901cdba451744e07fc421d (diff) | |
download | portage-f13e419e74e9375194032e75ff0f0e2f9b17dd2d.tar.gz portage-f13e419e74e9375194032e75ff0f0e2f9b17dd2d.tar.bz2 portage-f13e419e74e9375194032e75ff0f0e2f9b17dd2d.zip |
Format the callstack indentation more like it used to be. (trunk r7050)
svn path=/main/branches/2.1.2/; revision=7051
-rwxr-xr-x | bin/ebuild.sh | 4 |
1 files 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 } |