projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d304d0
)
Include the die call itself (including line number) in the printed call stack when...
author
Zac Medico
<zmedico@gentoo.org>
Thu, 23 Mar 2006 01:27:20 +0000
(
01:27
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 23 Mar 2006 01:27:20 +0000
(
01:27
-0000)
svn path=/main/trunk/; revision=2972
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 410425d219294c23d4b0b0908b822ad911786a1c..991da9ddeba526db9c79d1ff5fc872e2738c2bc8 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-247,6
+247,7
@@
diefunc() {
echo >&2
echo "!!! ERROR: $CATEGORY/$PF failed." >&2
dump_trace 2 1>&2
+ echo " $(basename "${BASH_SOURCE[1]}"), line ${BASH_LINENO[0]}: Called die" 1>&2
echo >&2
echo "!!! ${*:-(no error message)}" >&2
echo "!!! If you need support, post the topmost build error, and the call stack if relevant." >&2