commit: cc3b79128aafe55f48ac7b13882e2a503be45cac
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 09:33:50 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 09:33:50 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=cc3b7912
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 b9d11e9..ee08380 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -404,12 +404,12 @@ _modify-cmakelists() {
_cleanup_cmake() {
: ${CMAKE_USE_DIR:=${S}}
- [[ "${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 if CMakeLists.txt exist and if no then die
if [[ ! -e ${CMAKE_USE_DIR}/CMakeLists.txt ]] ; then