summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-27 03:21:30 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-27 03:21:30 +0000
commit7c80b60cca2460694732069475e794b2120470e0 (patch)
tree3c42f68966e467c0700bc1819f2c6d7e57a5b361 /bin/isolated-functions.sh
parentSend the ebuild die message through eerror and make sure that elog_process() ... (diff)
downloadportage-multirepo-7c80b60cca2460694732069475e794b2120470e0.tar.gz
portage-multirepo-7c80b60cca2460694732069475e794b2120470e0.tar.bz2
portage-multirepo-7c80b60cca2460694732069475e794b2120470e0.zip
Format the callstack indentation more like it used to be.
svn path=/main/trunk/; revision=7050
Diffstat (limited to 'bin/isolated-functions.sh')
-rwxr-xr-xbin/isolated-functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 16193773..f95b207f 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."