diff options
author | 2015-03-21 20:04:30 +0000 | |
---|---|---|
committer | 2015-03-21 20:04:30 +0000 | |
commit | bfb1bd7682b4a678cfa7dccb87d1f49d842317ac (patch) | |
tree | 2616e7da60c67261167d9d7a7ef5732d4c44691b /paludis/repositories/e/ebuild/0/list_functions.bash | |
parent | ef6930e03428ec512c9d564886c06078e5238d45 (diff) | |
download | paludis-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.bash | 7 |
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 |