From 64bdf0e81ca51b61c4acc0bab94f17ff6e0c9aba Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 17 Dec 2005 02:00:09 +0000 Subject: add an add-ebuild-death-hook func so people dont need to know about setting some variable svn path=/main/trunk/; revision=2380 --- bin/ebuild.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-1-g7c22