Move preinst/postinst_bsdflags from bash to py
authorDavid James <davidjames@google.com>
Thu, 28 Apr 2011 21:22:15 +0000 (14:22 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 28 Apr 2011 21:22:15 +0000 (14:22 -0700)
commitf86b547f1dbedb504de26e69ad66338258411a8f
tree04788238e50d32187c62d3c2e5d4c65a19da67e9
parent593b57110c6f441d03d9ae623de9ff99a2e57905
Move preinst/postinst_bsdflags from bash to py

Moving these commands from shell to Python helps avoid an unnecessary
call to misc-functions.sh for the postinst_bsdflags. This improves
performance.

BUG=none
TEST=Run emerge-x86-generic -eg --jobs=16 libchrome

Change-Id: I0c2af50b4d2f7644cabac84fde7fe4d682010c69

Review URL: http://codereview.chromium.org/6676107
bin/misc-functions.sh
pym/_emerge/EbuildPhase.py
pym/portage/package/ebuild/doebuild.py