From 048abaa7cd82ae42b712146101ed0fc98d85a687 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 14 Jan 2009 02:45:05 +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.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit svn path=/main/trunk/; revision=12501 --- 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 1f122bdf5..44a1358fe 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3033,7 +3033,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