Fix broken os.walk call in _post_src_install_uid_fix().
authorZac Medico <zmedico@gentoo.org>
Thu, 6 Aug 2009 07:00:36 +0000 (07:00 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 6 Aug 2009 07:00:36 +0000 (07:00 -0000)
svn path=/main/trunk/; revision=13929

pym/portage/__init__.py

index a959207c41e1053bc57e613208be613e9b2c3740..e2f459fc4fe7bd1cc3924d5b724554b867711739 100644 (file)
@@ -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)