diff --git a/install-cmake.sh b/install-cmake.sh index 0ec72c41..28166e6d 100755 --- a/install-cmake.sh +++ b/install-cmake.sh @@ -642,8 +642,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -670,8 +668,6 @@ create_from_github() display_message "Cloning $FORK/$BRANCH..." clone_from_github "$FORK" "$BRANCH" fi - - pop_directory } # Standard build from github. diff --git a/install-cmakepresets.sh b/install-cmakepresets.sh index 3663d6b9..95a75ffb 100755 --- a/install-cmakepresets.sh +++ b/install-cmakepresets.sh @@ -686,8 +686,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -714,8 +712,6 @@ create_from_github() display_message "Cloning $FORK/$BRANCH..." clone_from_github "$FORK" "$BRANCH" fi - - pop_directory } # Standard build from github. diff --git a/install.sh b/install.sh index 07e6b83f..24e92ab3 100755 --- a/install.sh +++ b/install.sh @@ -585,8 +585,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -613,8 +611,6 @@ create_from_github() display_message "Cloning $FORK/$BRANCH..." clone_from_github "$FORK" "$BRANCH" fi - - pop_directory } # Standard build from github.