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 2BE831384B4 for ; Wed, 18 Nov 2015 09:55:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1E9FE077B; Wed, 18 Nov 2015 09:55:17 +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 64F09E077B for ; Wed, 18 Nov 2015 09:55:17 +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 7735333BF0B for ; Wed, 18 Nov 2015 09:55:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C3961A8 for ; Wed, 18 Nov 2015 09:55:10 +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: <1447840480.636d81ebda2671867e2015d15faa3e818b32604b.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: 636d81ebda2671867e2015d15faa3e818b32604b X-VCS-Branch: master Date: Wed, 18 Nov 2015 09:55:10 +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: 76d84984-e8de-4319-b6f2-bfa2437848be X-Archives-Hash: db71113e3b2d62de27b33e79cc241dce commit: 636d81ebda2671867e2015d15faa3e818b32604b Author: Nikoli gmx us> AuthorDate: Wed Nov 18 09:54:40 2015 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Wed Nov 18 09:54:40 2015 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=636d81eb cmake-utils.eclass: check exit codes of executed commands 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 f6bb9dd..2b858cc 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -220,7 +220,7 @@ _check_build_dir() { # Backwards compatibility for getting the value. CMAKE_BUILD_DIR=${BUILD_DIR} - mkdir -p "${BUILD_DIR}" + mkdir -p "${BUILD_DIR}" || die echo ">>> Working in BUILD_DIR: \"$BUILD_DIR\"" } @@ -405,7 +405,7 @@ _cleanup_cmake() { [[ "${CMAKE_REMOVE_MODULES}" == "yes" ]] && { local name for name in ${CMAKE_REMOVE_MODULES_LIST} ; do - find "${S}" -name ${name}.cmake -exec rm -v {} + + find "${S}" -name ${name}.cmake -exec rm -v {} + || die done }