As suggested by Soap (Thank You!)

Makes this part more future proof, and removes the "," that shouldn't have been there.

diff --git a/eclass/docs.eclass b/eclass/docs.eclass
index f49c6aeab9d..684ab26919c 100644
--- a/eclass/docs.eclass
+++ b/eclass/docs.eclass
@@ -378,7 +378,7 @@ case ${DOCS_BUILDER} in
                ;;
 esac

-if [[ ${EAPI} == [7,8] ]]; then
+if [[ ${EAPI} != 6 ]]; then
        BDEPEND+=" doc? ( ${DOCS_DEPEND} )"
 else
        DEPEND+=" doc? ( ${DOCS_DEPEND} )"

Reply via email to