diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-01-26 15:19:14 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-01-26 15:19:14 -0500 |
commit | bcd3cdecc66f0c991a4069aa00476bd9de5ae978 (patch) | |
tree | 2ca5a930efc6a562a3f822f28a84459d7561fed4 /eclass | |
parent | net-fs/samba: Removed old (diff) | |
download | gentoo-bcd3cdecc66f0c991a4069aa00476bd9de5ae978.tar.gz gentoo-bcd3cdecc66f0c991a4069aa00476bd9de5ae978.tar.bz2 gentoo-bcd3cdecc66f0c991a4069aa00476bd9de5ae978.zip |
apache-2.eclass: don't perform numeric comparison on EAPI
All EAPIs before EAPI 6 are banned at the top of the eclass, so
just check for EAPI != 6 before calling lua-single_pkg_setup.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/apache-2.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass index 0177b5987d44..1d32ac4419e8 100644 --- a/eclass/apache-2.eclass +++ b/eclass/apache-2.eclass @@ -461,7 +461,7 @@ apache-2_pkg_setup() { elog fi - if [[ "${EAPI}" -ge 7 ]] && use apache2_modules_lua ; then + if [[ ${EAPI} != 6 ]] && use apache2_modules_lua ; then lua-single_pkg_setup fi } |