From 2bb86ee6ea5dae92d14d6dd126774cd3085acc7d Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Sat, 25 Apr 2020 11:07:47 +0200 Subject: [PATCH] download_and_compile.sh: update address and branch for CMake - The old URL for CMake's Git repository doesn't support https anymore; update it to match the one given at . - Build the 'release' branch rather than 'master': download_and_compile.sh is not meant for CMake hackers! --- download_and_compile.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/download_and_compile.sh b/download_and_compile.sh index e5499d3..21f706b 100755 --- a/download_and_compile.sh +++ b/download_and_compile.sh @@ -436,8 +436,8 @@ declare -A USERNAME_AT_SITE declare -A REPO_ADDRESS declare -A REPO_SITE -REPO_ADDRESS[CMAKE]="cmake.org/cmake.git" -REPO_SITE[CMAKE]="cmake.org" +REPO_ADDRESS[CMAKE]="gitlab.kitware.com/cmake/cmake.git" +REPO_SITE[CMAKE]="gitlab.kitware.com" REPO_ADDRESS[ZLIB]="github.com/madler/zlib.git" REPO_SITE[ZLIB]="GitHub" REPO_ADDRESS[PLIB]="git.code.sf.net/p/libplib/code" @@ -815,7 +815,7 @@ if _elementIn "CMAKE" "${WHATTOBUILD[@]}"; then mkdir -p "cmake" cd "$CBD"/cmake _gitDownload CMAKE - _gitUpdate master + _gitUpdate release if [ "$RECONFIGURE" = "y" ]; then cd "$CBD"