From 081ec8095db0b488031b042dc3023598e7b2fb9e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 14 Jan 2009 03:59:31 +0000 Subject: [PATCH] =?utf8?q?In=20spawn(),=20put=20the=20full=20cpv=20in=20op?= =?utf8?q?t=5Fname,=20instead=20of=20just=20$PF.=20Thanks=20to=20Diego=20P?= =?utf8?q?etten=C3=B2=20=20for=20the=20suggestion.=20(trunk?= =?utf8?q?=20r12501)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit svn path=/main/branches/2.1.6/; revision=12511 --- pym/portage/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index a6ef919de..cacb6c937 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3023,7 +3023,8 @@ def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero else: check_config_instance(mysettings) env=mysettings.environ() - keywords["opt_name"]="[%s]" % mysettings["PF"] + if mysettings.mycpv is not None: + keywords["opt_name"] = "[%s]" % mysettings.mycpv fd_pipes = keywords.get("fd_pipes") if fd_pipes is None: -- 2.26.2