diff --git a/install-cmake.sh b/install-cmake.sh index cfa3828..08dac5c 100755 --- a/install-cmake.sh +++ b/install-cmake.sh @@ -638,8 +638,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -666,8 +664,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 e4f5ebf..18f9754 100755 --- a/install-cmakepresets.sh +++ b/install-cmakepresets.sh @@ -674,8 +674,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -702,8 +700,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 ea4d2c0..dff60ec 100755 --- a/install.sh +++ b/install.sh @@ -581,8 +581,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -609,8 +607,6 @@ create_from_github() display_message "Cloning $FORK/$BRANCH..." clone_from_github "$FORK" "$BRANCH" fi - - pop_directory } # Standard build from github.