From 0f7b2df6fbe0685c3189f0c62ce92c845dbee7e2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 24 Apr 2009 02:18:34 +0000 Subject: =?UTF-8?q?Add=20dohard=20and=20doset=20helper=20which=20die=20for?= =?UTF-8?q?=20EAPI=203.=20TODO:=20Make=20the=20die=20helper=20use=20pipe?= =?UTF-8?q?=20or=20socket=20IPC=20instead=20of=20a=20signal,=20to=20avoid?= =?UTF-8?q?=20a=20potential=20race=20condition=20in=20signal=20delivery.?= =?UTF-8?q?=20Thanks=20to=20to=20Tiziano=20M=C3=BCller=20=20?= =?UTF-8?q?for=20the=20initial=20patch.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/main/trunk/; revision=13389 --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ebuild.sh') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 5f78c8e41..9cbd748e6 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -56,8 +56,8 @@ qa_call() { return $retval } -# subshell die support -EBUILD_MASTER_PID=$$ +# Subshell/helper die support (must export for the die helper). +export EBUILD_MASTER_PID=$$ trap 'exit 1' SIGTERM EBUILD_SH_ARGS="$*" -- cgit v1.2.3-1-g7c22