_postinst_bsdflags: apply to $ROOT, not $D
authorZac Medico <zmedico@gentoo.org>
Thu, 28 Apr 2011 21:31:03 +0000 (14:31 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 28 Apr 2011 21:31:03 +0000 (14:31 -0700)
pym/portage/package/ebuild/doebuild.py

index 2a4079109de2ad7c2c183ee32d211cf63184b548..1c0482224936826cd2ba818ce25121cc9861c4ce 100644 (file)
@@ -1406,7 +1406,7 @@ def _postinst_bsdflags(mysettings):
        if bsd_chflags:
                # Restore all of the flags saved above.
                os.system("mtree -e -p %s -U -k flags < %s > /dev/null" % \
-                       (_shell_quote(mysettings["D"]),
+                       (_shell_quote(mysettings["ROOT"]),
                        _shell_quote(os.path.join(mysettings["T"], "bsdflags.mtree"))))
 
 def _post_src_install_uid_fix(mysettings, out):