diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-20 17:31:08 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-20 17:31:08 -0700 |
commit | c32aee053541993a3b7be732798976ed20faba69 (patch) | |
tree | 98350a644d566cb2ade3fa5703fadf7719c84bdd /bin | |
parent | 5959cb1b25d1d0d7c87fd982df72dfd2212f80a3 (diff) | |
download | portage-c32aee053541993a3b7be732798976ed20faba69.tar.gz portage-c32aee053541993a3b7be732798976ed20faba69.tar.bz2 portage-c32aee053541993a3b7be732798976ed20faba69.zip |
At some point we may want to stop exporting FEATURES to the ebuild
environment, in order to prevent ebuilds from abusing it. In
preparation for that, export it as PORTAGE_FEATURES so that bashrc
users will be able to migrate any FEATURES conditional code to
use this alternative variable.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 432da6465..de3c80bef 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1711,7 +1711,7 @@ filter_readonly_variables() { filtered_vars="${filtered_vars} ${filtered_sandbox_vars}" fi if hasq --filter-features $* ; then - filtered_vars="${filtered_vars} FEATURES" + filtered_vars="${filtered_vars} FEATURES PORTAGE_FEATURES" fi if hasq --filter-path $* ; then filtered_vars+=" PATH" |