From: Nikoli <nik...@gmx.us> Gentoo-bug: 544966 --- 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 f361bc7..fb80b13 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -219,7 +219,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\"" } @@ -431,7 +431,7 @@ enable_cmake-utils_src_configure() { [[ "${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 } -- 2.4.10