From: Zac Medico Date: Thu, 6 Aug 2009 07:00:36 +0000 (-0000) Subject: Fix broken os.walk call in _post_src_install_uid_fix(). X-Git-Tag: v2.2_rc37~37 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=458837af03fe6f19e49b1e12aa6b53c82b1b288c;p=portage.git Fix broken os.walk call in _post_src_install_uid_fix(). svn path=/main/trunk/; revision=13929 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index a959207c4..e2f459fc4 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -5169,7 +5169,7 @@ def _post_src_install_uid_fix(mysettings): # os.path.join when called by os.walk. destdir = destdir.encode('utf_8', 'replace') - for parent, dirs, files in os.walk(mysettings["D"]): + for parent, dirs, files in os.walk(destdir): for fname in chain(dirs, files): fpath = os.path.join(parent, fname) mystat = os.lstat(fpath)