commit: 98f55297aa8b7514458cbc6b4f759978584ee0fc Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Mon Jan 25 14:04:11 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Mon Jan 25 14:07:04 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f55297
cmake-utils.eclass: use a proper if statement eclass/cmake-utils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 58f93ac..b20f5c2 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -428,12 +428,12 @@ enable_cmake-utils_src_prepare() { enable_cmake-utils_src_configure() { debug-print-function ${FUNCNAME} "$@" - [[ "${CMAKE_REMOVE_MODULES}" == "yes" ]] && { + if [[ "${CMAKE_REMOVE_MODULES}" == "yes" ]] ; then local name for name in ${CMAKE_REMOVE_MODULES_LIST} ; do find "${S}" -name ${name}.cmake -exec rm -v {} + || die done - } + fi _check_build_dir