Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/
Date: Thu, 28 Apr 2011 21:32:25
Message-Id: a7971b43b4b04eaadbf10ad635677d4a737d7773.zmedico@gentoo
1 commit: a7971b43b4b04eaadbf10ad635677d4a737d7773
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 21:31:03 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 21:31:03 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a7971b43
7
8 _postinst_bsdflags: apply to $ROOT, not $D
9
10 ---
11 pym/portage/package/ebuild/doebuild.py | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
15 index 2a40791..1c04822 100644
16 --- a/pym/portage/package/ebuild/doebuild.py
17 +++ b/pym/portage/package/ebuild/doebuild.py
18 @@ -1406,7 +1406,7 @@ def _postinst_bsdflags(mysettings):
19 if bsd_chflags:
20 # Restore all of the flags saved above.
21 os.system("mtree -e -p %s -U -k flags < %s > /dev/null" % \
22 - (_shell_quote(mysettings["D"]),
23 + (_shell_quote(mysettings["ROOT"]),
24 _shell_quote(os.path.join(mysettings["T"], "bsdflags.mtree"))))
25
26 def _post_src_install_uid_fix(mysettings, out):