diff --git a/install-cmake.sh b/install-cmake.sh index dbcfc7f31..3416f28b2 100755 --- a/install-cmake.sh +++ b/install-cmake.sh @@ -631,8 +631,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -659,8 +657,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 060f97df6..35bba00a7 100755 --- a/install-cmakepresets.sh +++ b/install-cmakepresets.sh @@ -671,8 +671,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -699,8 +697,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 e1bc1ca5b..02602f76f 100755 --- a/install.sh +++ b/install.sh @@ -574,8 +574,6 @@ clone_from_github() create_from_github() { - push_directory "$BUILD_SRC_DIR" - local ACCOUNT=$1 local REPO=$2 local BRANCH=$3 @@ -602,8 +600,6 @@ create_from_github() display_message "Cloning $FORK/$BRANCH..." clone_from_github "$FORK" "$BRANCH" fi - - pop_directory } # Standard build from github.