projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
161f55a
)
added EBUILD_DEATH_HOOKS , a way for ebuilds/eclasses to register extra messages...
author
Brian Harring
<ferringb@gentoo.org>
Wed, 5 Oct 2005 17:39:46 +0000
(17:39 -0000)
committer
Brian Harring
<ferringb@gentoo.org>
Wed, 5 Oct 2005 17:39:46 +0000
(17:39 -0000)
svn path=/main/branches/2.0/; revision=2106
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 7187cb81b988cd2d101f483537986f1f02451d11..2a9b9d4b0dafda946b2e471460ab1ce6adc2d76b 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-283,6
+283,11
@@
diefunc() {
echo "!!! ${*:-(no error message)}" >&2
echo "!!! If you need support, post the topmost build error, NOT this status message." >&2
echo >&2
+ if [ "${EBUILD_PHASE/depend}" == "${EBUILD_PHASE}" ]; then
+ for x in $EBUILD_DEATH_HOOKS; do
+ ${x} "$@" >&2 1>&2
+ done
+ fi
exit 1
}