Filter prefix variables ED, EPREFIX, and EROOT inside
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:49:37 +0000 (03:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:49:37 +0000 (03:49 -0000)
commit1cd177f8978193772add5e67d88b29262f9682a5
tree16532dd1ea809428ac2a44582aa5da531f0ae123
parenta189a31d3d7f9ed02529f6a16212445e05ac8ed0
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. (trunk r15030)

svn path=/main/branches/2.1.7/; revision=15064
bin/ebuild.sh
pym/portage/__init__.py