summaryrefslogtreecommitdiff
path: root/eclass/cmake.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/cmake.eclass')
-rw-r--r--eclass/cmake.eclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 587ba1d9b5f..af8ca6faa56 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -318,8 +318,6 @@ _cmake_modify-cmakelists() {
cmake_src_prepare() {
debug-print-function ${FUNCNAME} "$@"
- pushd "${S}" > /dev/null || die
-
default_src_prepare
_cmake_check_build_dir
@@ -346,8 +344,6 @@ cmake_src_prepare() {
# Remove dangerous things.
_cmake_modify-cmakelists
- popd > /dev/null || die
-
# make ${S} read-only in order to detect broken build-systems
if [[ ${CMAKE_QA_SRC_DIR_READONLY} && ! ${CMAKE_IN_SOURCE_BUILD} ]]; then
chmod -R a-w "${S}"