1 |
From: Nikoli <nikoli@×××.us> |
2 |
|
3 |
Gentoo-bug: 544966 |
4 |
--- |
5 |
eclass/cmake-utils.eclass | 4 ++-- |
6 |
1 file changed, 2 insertions(+), 2 deletions(-) |
7 |
|
8 |
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass |
9 |
index f361bc7..fb80b13 100644 |
10 |
--- a/eclass/cmake-utils.eclass |
11 |
+++ b/eclass/cmake-utils.eclass |
12 |
@@ -219,7 +219,7 @@ _check_build_dir() { |
13 |
# Backwards compatibility for getting the value. |
14 |
CMAKE_BUILD_DIR=${BUILD_DIR} |
15 |
|
16 |
- mkdir -p "${BUILD_DIR}" |
17 |
+ mkdir -p "${BUILD_DIR}" || die |
18 |
echo ">>> Working in BUILD_DIR: \"$BUILD_DIR\"" |
19 |
} |
20 |
|
21 |
@@ -431,7 +431,7 @@ enable_cmake-utils_src_configure() { |
22 |
[[ "${CMAKE_REMOVE_MODULES}" == "yes" ]] && { |
23 |
local name |
24 |
for name in ${CMAKE_REMOVE_MODULES_LIST} ; do |
25 |
- find "${S}" -name ${name}.cmake -exec rm -v {} + |
26 |
+ find "${S}" -name ${name}.cmake -exec rm -v {} + || die |
27 |
done |
28 |
} |
29 |
|
30 |
-- |
31 |
2.4.10 |