projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1820986
)
add an add-ebuild-death-hook func so people dont need to know about setting some...
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 17 Dec 2005 02:00:09 +0000
(
02:00
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 17 Dec 2005 02:00:09 +0000
(
02:00
-0000)
svn path=/main/trunk/; revision=2380
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 2204bf54b53bda16e169eacf9e1871f20aef7af8..c4f030113290c36be77eab9048adc5f7feae6365 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-263,6
+263,10
@@
use_enable() {
return 0
}
+add-ebuild-death-hook() {
+ export EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} $*"
+}
+
diefunc() {
local funcname="$1" lineno="$2" exitcode="$3"
shift 3