summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 2204bf54b..c4f030113 100755
--- 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