commit:     7552df1dfeda6d1a0422f3cca37fe8cf953d8719
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 10:34:27 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 10:40:22 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7552df1d

cmake.eclass: Drop pushd/popd from src_prepare

Added in c3d7073e1cd222d07060a0edc07079d7aa6598e6 but probably irrelevant now.
See also: https://bugs.gentoo.org/459678

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/cmake.eclass | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 587ba1d9b5..af8ca6faa5 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}"

Reply via email to