add an add-ebuild-death-hook func so people dont need to know about setting some...
authorMike Frysinger <vapier@gentoo.org>
Sat, 17 Dec 2005 02:00:09 +0000 (02:00 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 17 Dec 2005 02:00:09 +0000 (02:00 -0000)
svn path=/main/trunk/; revision=2380

bin/ebuild.sh

index 2204bf54b53bda16e169eacf9e1871f20aef7af8..c4f030113290c36be77eab9048adc5f7feae6365 100755 (executable)
@@ -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