diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-01-14 02:45:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-01-14 02:45:05 +0000 |
commit | 048abaa7cd82ae42b712146101ed0fc98d85a687 (patch) | |
tree | 8e5e059f868d88a4ed762e73491307607043cdd5 | |
parent | 328730fc949f699d7c5397bd11ef2d4af59bf754 (diff) | |
download | portage-048abaa7cd82ae42b712146101ed0fc98d85a687.tar.gz portage-048abaa7cd82ae42b712146101ed0fc98d85a687.tar.bz2 portage-048abaa7cd82ae42b712146101ed0fc98d85a687.zip |
In spawn(), put the full cpv in opt_name, instead of just $PF. Thanks to
Diego Pettenò <flameeyes@g.o> for the suggestion.
svn path=/main/trunk/; revision=12501
-rw-r--r-- | pym/portage/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |