diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-03-04 06:57:52 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-03-04 06:57:52 +0000 |
commit | 8a52e95fd3be42b3fa72263294437d2900014152 (patch) | |
tree | e98bb8590c03e587795bf4c1998f97b575a0ef1c /pym/portage | |
parent | 645c639da87b1c8a2156a6e107da9e3c90f9f70d (diff) | |
download | portage-8a52e95fd3be42b3fa72263294437d2900014152.tar.gz portage-8a52e95fd3be42b3fa72263294437d2900014152.tar.bz2 portage-8a52e95fd3be42b3fa72263294437d2900014152.zip |
Bug #307707 - Fix fetch() to use the correct spawn function when calling
nofetch.
svn path=/main/trunk/; revision=15743
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/package/ebuild/fetch.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/fetch.py b/pym/portage/package/ebuild/fetch.py index b89856e6e..353a4e678 100644 --- a/pym/portage/package/ebuild/fetch.py +++ b/pym/portage/package/ebuild/fetch.py @@ -20,6 +20,7 @@ import tempfile import portage portage.proxy.lazyimport.lazyimport(globals(), 'portage.package.ebuild.config:check_config_instance,config', + 'portage.package.ebuild.doebuild:spawn@doebuild_spawn', ) from portage import doebuild_environment, OrderedDict, os, prepare_build_dirs, selinux, _encodings, _shell_quote, _unicode_encode @@ -1096,7 +1097,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", ebuild_phase = mysettings.get("EBUILD_PHASE") try: mysettings["EBUILD_PHASE"] = "nofetch" - spawn(_shell_quote(EBUILD_SH_BINARY) + \ + doebuild_spawn(_shell_quote(EBUILD_SH_BINARY) + \ " nofetch", mysettings, fd_pipes=fd_pipes) finally: if ebuild_phase is None: |