From: Zac Medico Date: Wed, 14 Jan 2009 03:59:31 +0000 (-0000) Subject: In spawn(), put the full cpv in opt_name, instead of just $PF. Thanks to X-Git-Tag: v2.1.6.6~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=081ec8095db0b488031b042dc3023598e7b2fb9e;p=portage.git In spawn(), put the full cpv in opt_name, instead of just $PF. Thanks to Diego Pettenò for the suggestion. (trunk r12501) svn path=/main/branches/2.1.6/; revision=12511 --- 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: