dyn_prepare: init state for apply_user_patches
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Aug 2012 16:33:04 +0000 (09:33 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Aug 2012 16:33:04 +0000 (09:33 -0700)
bin/phase-functions.sh

index ff7d855209b2fafe22f4fac453146cf8fa0ae7a9..85d44a1fcfae6c20806e866571d17e7dfc5e30f1 100644 (file)
@@ -372,6 +372,7 @@ dyn_prepare() {
        else
                die "The source directory '${S}' doesn't exist"
        fi
+       rm -f "${PORTAGE_BUILDDIR}/.apply_user_patches" || die
 
        trap abort_prepare SIGINT SIGQUIT