aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/repositories/e/ebuild/5/list_functions.bash8
1 files changed, 3 insertions, 5 deletions
diff --git a/paludis/repositories/e/ebuild/5/list_functions.bash b/paludis/repositories/e/ebuild/5/list_functions.bash
index 7cb22ad00..bb6782373 100644
--- a/paludis/repositories/e/ebuild/5/list_functions.bash
+++ b/paludis/repositories/e/ebuild/5/list_functions.bash
@@ -25,11 +25,9 @@ ebuild_load_module --older list_functions
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
+ local i=( $IUSE_EFFECTIVE )
+ if ! hasq ${1#!} "${i[@]#[+-]}" ; then
+ die "Flag '${1#!}' is not included in IUSE_EFFECTIVE=\"${IUSE_EFFECTIVE}\""
fi
if [[ "${1:0:1}" == "!" ]] ; then