From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B53FE58973 for ; Sun, 17 Jan 2016 10:05:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91440E086B; Sun, 17 Jan 2016 10:05:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC594E086C for ; Sun, 17 Jan 2016 10:05:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C742340662 for ; Sun, 17 Jan 2016 10:05:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78EC0E68 for ; Sun, 17 Jan 2016 10:05:02 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1453023230.cc3b79128aafe55f48ac7b13882e2a503be45cac.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: cc3b79128aafe55f48ac7b13882e2a503be45cac X-VCS-Branch: master Date: Sun, 17 Jan 2016 10:05:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3c8fc260-64b4-4dbd-bcaf-e0a30f71d0c6 X-Archives-Hash: 4df8afda971ddcb1403688bfae605763 commit: cc3b79128aafe55f48ac7b13882e2a503be45cac Author: Michael Palimaka gentoo org> AuthorDate: Sun Jan 17 09:33:50 2016 +0000 Commit: Michael Palimaka gentoo 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