a temporary PORTAGE_TMPDIR setting (for fetchonly). Thanks to
Marat Radchenko <slonopotamusorama@gmail.com> for reporting. (trunk r12685)
svn path=/main/branches/2.1.6/; revision=12945
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):