aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/0/list_functions.bash
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2015-03-21 20:04:30 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2015-03-21 20:04:30 +0000
commitbfb1bd7682b4a678cfa7dccb87d1f49d842317ac (patch)
tree2616e7da60c67261167d9d7a7ef5732d4c44691b /paludis/repositories/e/ebuild/0/list_functions.bash
parentef6930e03428ec512c9d564886c06078e5238d45 (diff)
downloadpaludis-bfb1bd7682b4a678cfa7dccb87d1f49d842317ac.tar.gz
paludis-bfb1bd7682b4a678cfa7dccb87d1f49d842317ac.tar.xz
Only check IUSE_EFFECTIVE for EAPI 5
In other EAPIs the value isn't set by C++, and therefore may leak in from the calling environment.
Diffstat (limited to 'paludis/repositories/e/ebuild/0/list_functions.bash')
-rw-r--r--paludis/repositories/e/ebuild/0/list_functions.bash7
1 files changed, 0 insertions, 7 deletions
diff --git a/paludis/repositories/e/ebuild/0/list_functions.bash b/paludis/repositories/e/ebuild/0/list_functions.bash
index 0c5d91a52..4998c2b3c 100644
--- a/paludis/repositories/e/ebuild/0/list_functions.bash
+++ b/paludis/repositories/e/ebuild/0/list_functions.bash
@@ -37,13 +37,6 @@ usev()
useq()
{
- if [[ -n "${IUSE_EFFECTIVE:+x}" ]] ; then
- local i=( $IUSE_EFFECTIVE )
- if ! hasq ${1#!} "${i[@]#[+-]}" ; then
- die "Flag '${1#!}' is not included in IUSE_EFFECTIVE=\"${IUSE_EFFECTIVE}\""
- fi
- fi
-
if [[ "${1:0:1}" == "!" ]] ; then
! hasq "${1#!}" "${USE}"
else