From a841472cea6bf13abc9bf653fbb2ee884e2266f2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 28 Apr 2011 14:31:03 -0700 Subject: [PATCH] _postinst_bsdflags: apply to $ROOT, not $D --- pym/portage/package/ebuild/doebuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index 2a4079109..1c0482224 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -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): -- 2.26.2