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 1RD3YC-0006sE-Ey for garchives@archives.gentoo.org; Mon, 10 Oct 2011 00:17:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16CDD21C0C9; Mon, 10 Oct 2011 00:16:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DCA7721C0C9 for ; Mon, 10 Oct 2011 00:16:52 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 620AF1B4014 for ; Mon, 10 Oct 2011 00:16:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 9370A80042 for ; Mon, 10 Oct 2011 00:16:51 +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: <7b2be36898ef04a8cef42dc41cbc162004f329c2.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/EbuildBuild.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 7b2be36898ef04a8cef42dc41cbc162004f329c2 Date: Mon, 10 Oct 2011 00:16:51 +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: X-Archives-Hash: ca6681a4e910babd21ed12646d3e1da1 commit: 7b2be36898ef04a8cef42dc41cbc162004f329c2 Author: Zac Medico gentoo org> AuthorDate: Mon Oct 10 00:15:31 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Oct 10 00:15:31 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D7b2be368 Skip PORTAGE_TMPDIR write check for fetchonly. Bug #286201 --- pym/_emerge/EbuildBuild.py | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pym/_emerge/EbuildBuild.py b/pym/_emerge/EbuildBuild.py index 2b0f412..012a1ef 100644 --- a/pym/_emerge/EbuildBuild.py +++ b/pym/_emerge/EbuildBuild.py @@ -30,12 +30,13 @@ class EbuildBuild(CompositeTask): pkg =3D self.pkg settings =3D self.settings =20 - rval =3D _check_temp_dir(settings) - if rval !=3D os.EX_OK: - self.returncode =3D rval - self._current_task =3D None - self.wait() - return + if not self.opts.fetchonly: + rval =3D _check_temp_dir(settings) + if rval !=3D os.EX_OK: + self.returncode =3D rval + self._current_task =3D None + self.wait() + return =20 root_config =3D pkg.root_config tree =3D "porttree"