From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rlhtk-00027n-P1 for garchives@archives.gentoo.org; Fri, 13 Jan 2012 14:14:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD7FCE0616; Fri, 13 Jan 2012 14:14:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 78FAFE0616 for ; Fri, 13 Jan 2012 14:14:21 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0D1C1B401C for ; Fri, 13 Jan 2012 14:14:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6EBBF80044 for ; Fri, 13 Jan 2012 14:14:20 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <850931b76f62509df1b55ff3f4151393da0b3807.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/misc-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 850931b76f62509df1b55ff3f4151393da0b3807 Date: Fri, 13 Jan 2012 14:14:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6d08ad82-610d-4d92-8ad0-513e1efb287f X-Archives-Hash: c80435cf9c44d576703bc858d2a6ff96 commit: 850931b76f62509df1b55ff3f4151393da0b3807 Author: Zac Medico gentoo org> AuthorDate: Fri Jan 13 14:14:12 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Jan 13 14:14:12 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D850931b7 dyn_package: remove stale PROOT if necessary --- bin/misc-functions.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index df0493b..6094fb7 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -1107,6 +1107,7 @@ dyn_package() { local PROOT=3D"${T}/packaging" # make a temporary copy of ${D} so that any modifications we do that # are binpkg specific, do not influence the actual installed image. + rm -rf "${PROOT}" || die "failed removing stale package tree" cp -la "${PORTAGE_BUILDDIR}/image" "${PROOT}" || die "failed creating p= ackaging tree" =20 install_mask "${PROOT}" "${PKG_INSTALL_MASK}"