Punt the abort_unpack() handler since it's pointless anyway.
authorZac Medico <zmedico@gentoo.org>
Sat, 30 Dec 2006 10:32:03 +0000 (10:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 30 Dec 2006 10:32:03 +0000 (10:32 -0000)
svn path=/main/trunk/; revision=5425

bin/ebuild.sh

index 3e793a6ecc4416f933feab24e6ba8be8d6094e7c..18409bd03c7b12d3e6315009488d2bdeeeb536fd 100755 (executable)
@@ -684,7 +684,6 @@ dyn_setup() {
 }
 
 dyn_unpack() {
-       trap "abort_unpack" SIGINT SIGQUIT
        [ "$(type -t pre_src_unpack)" == "function" ] && pre_src_unpack
        local newstuff="no"
        if [ -e "${WORKDIR}" ]; then
@@ -735,8 +734,6 @@ dyn_unpack() {
        cd "${PORTAGE_BUILDDIR}"
 
        [ "$(type -t post_src_unpack)" == "function" ] && post_src_unpack
-
-       trap SIGINT SIGQUIT
 }
 
 dyn_clean() {
@@ -874,13 +871,6 @@ abort_compile() {
        exit 1
 }
 
-abort_unpack() {
-       abort_handler "src_unpack" $1
-       rm -f "${PORTAGE_BUILDDIR}/.unpacked"
-       rm -rf "${PORTAGE_BUILDDIR}/work"
-       exit 1
-}
-
 abort_test() {
        abort_handler "dyn_test" $1
        rm -f "${PORTAGE_BUILDDIR}/.tested"