summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-06-16 12:23:26 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-16 12:23:26 -0700
commit9a3b6af0aeaf475b21f4fe318a5c8a2ac2e27ff3 (patch)
treebcad3fb593619b7d537540074a51454fc74da7de
parent3f159f67ceee78e7219d23bec41139df2f160b94 (diff)
downloadportage-9a3b6af0aeaf475b21f4fe318a5c8a2ac2e27ff3.tar.gz
portage-9a3b6af0aeaf475b21f4fe318a5c8a2ac2e27ff3.tar.bz2
portage-9a3b6af0aeaf475b21f4fe318a5c8a2ac2e27ff3.zip
prepare_build_dirs: skip FEATURES dirs more
We don't need to prepare ccache/distcc FEATURES dirs for pkg_info or pkg_pretend phases. This will fix bug #371909.
-rw-r--r--pym/portage/package/ebuild/prepare_build_dirs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/prepare_build_dirs.py b/pym/portage/package/ebuild/prepare_build_dirs.py
index 74cf556ea..992d2bac6 100644
--- a/pym/portage/package/ebuild/prepare_build_dirs.py
+++ b/pym/portage/package/ebuild/prepare_build_dirs.py
@@ -105,7 +105,7 @@ def prepare_build_dirs(myroot=None, settings=None, cleanup=False):
pass
_prepare_workdir(mysettings)
- if mysettings.get('EBUILD_PHASE') != 'fetch':
+ if mysettings.get("EBUILD_PHASE") not in ("info", "fetch", "pretend"):
# Avoid spurious permissions adjustments when fetching with
# a temporary PORTAGE_TMPDIR setting (for fetchonly).
_prepare_features_dirs(mysettings)