summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-07-01 09:14:24 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-07-01 10:41:10 +0200
commitdaf6441e2216a5e163b48d08fb36bb04577eecc1 (patch)
tree8e80e62d7f5d51f43ce65dbc6dea3e0364a7f0cc /eclass/docs.eclass
parentdev-perl/Math-BigInt-Lite: x86 stable wrt bug #799398 (diff)
downloadgentoo-daf6441e2216a5e163b48d08fb36bb04577eecc1.tar.gz
gentoo-daf6441e2216a5e163b48d08fb36bb04577eecc1.tar.bz2
gentoo-daf6441e2216a5e163b48d08fb36bb04577eecc1.zip
eclass/docs.eclass: invert (B)DEPEND if condition
As suggested by Soap (Thank You!) Makes this part more future proof, and removes the "," that shouldn't have been there. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'eclass/docs.eclass')
-rw-r--r--eclass/docs.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/docs.eclass b/eclass/docs.eclass
index f49c6aeab9df..684ab26919ce 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} )"