From: Zac Medico Date: Wed, 14 Jan 2009 02:45:05 +0000 (-0000) Subject: In spawn(), put the full cpv in opt_name, instead of just $PF. Thanks to X-Git-Tag: v2.2_rc22~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=048abaa7cd82ae42b712146101ed0fc98d85a687;p=portage.git In spawn(), put the full cpv in opt_name, instead of just $PF. Thanks to Diego Pettenò for the suggestion. svn path=/main/trunk/; revision=12501 --- 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: