a temporary PORTAGE_TMPDIR setting (for fetchonly). Thanks to
Marat Radchenko <slonopotamusorama@gmail.com> for reporting.
svn path=/main/trunk/; revision=12685
return 1
_prepare_workdir(mysettings)
- _prepare_features_dirs(mysettings)
+ if mysettings.get('EBUILD_PHASE') != 'fetch':
+ # Avoid spurious permissions adjustments when fetching with
+ # a temporary PORTAGE_TMPDIR setting (for fetchonly).
+ _prepare_features_dirs(mysettings)
def _adjust_perms_msg(settings, msg):