commit: 6dd449a09d9f6ff86ae9f682de6f957429ad4d1d Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Thu Jan 28 07:49:38 2016 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Thu Jan 28 07:51:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd449a0
cmake-utils.eclass: Fix inverted logic on EAPI check Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=573132 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> eclass/cmake-utils.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 01de9a5..99c0f76 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -603,7 +603,7 @@ enable_cmake-utils_src_configure() { local mycmakeargstype=$(declare -p mycmakeargs 2>&-) if [[ "${mycmakeargstype}" != "declare -a mycmakeargs="* ]]; then if [[ -n "${mycmakeargstype}" ]] ; then - if [[ ${EAPI} != [2345] ]]; then + if [[ ${EAPI} == [2345] ]]; then eqawarn "Declaring mycmakeargs as a variable is deprecated. Please use an array instead." else die "Declaring mycmakeargs as a variable is banned in EAPI=${EAPI}. Please use an array instead."
