From: Zac Medico Date: Thu, 16 Jun 2011 19:23:26 +0000 (-0700) Subject: prepare_build_dirs: skip FEATURES dirs more X-Git-Tag: v2.2.0_alpha42~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a3b6af0aeaf475b21f4fe318a5c8a2ac2e27ff3;p=portage.git 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. --- 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)