Filter prefix variables ED, EPREFIX, and EROOT inside
authorZac Medico <zmedico@gentoo.org>
Fri, 11 Dec 2009 05:56:09 +0000 (05:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 11 Dec 2009 05:56:09 +0000 (05:56 -0000)
commit7d6c38cf7151d61e90c9660a3c34d4a632694e46
treec9feb608d524d5f6b816834f29d482ecd80e096e
parent0765de4d004df42a3ebec40b10b1d88155e31911
Filter prefix variables ED, EPREFIX, and EROOT inside
filter_readonly_variables() but don't mark them readonly for now since some
ebuilds/eclasses try to assign EROOT (such as kde4-base_pkg_setup) which
causes the whole bash shell to exit like this:

>>> Extracting info
 * CPV:  kde-base/oxygen-icons-4.3.4
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux test userland_GNU x86
/var/tmp/portage/kde-base/oxygen-icons-4.3.4/temp/environment: line 2781: EROOT: readonly variable

Also, add ED to the environment blacklist.

svn path=/main/trunk/; revision=15030
bin/ebuild.sh
pym/portage/__init__.py