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 <https://cmake.org/>. - Build the 'release' branch rather than 'master': download_and_compile.sh is not meant for CMake hackers!
This commit is contained in:
parent
a02dc9aad6
commit
2bb86ee6ea
1 changed files with 3 additions and 3 deletions
|
@ -436,8 +436,8 @@ declare -A USERNAME_AT_SITE
|
||||||
declare -A REPO_ADDRESS
|
declare -A REPO_ADDRESS
|
||||||
declare -A REPO_SITE
|
declare -A REPO_SITE
|
||||||
|
|
||||||
REPO_ADDRESS[CMAKE]="cmake.org/cmake.git"
|
REPO_ADDRESS[CMAKE]="gitlab.kitware.com/cmake/cmake.git"
|
||||||
REPO_SITE[CMAKE]="cmake.org"
|
REPO_SITE[CMAKE]="gitlab.kitware.com"
|
||||||
REPO_ADDRESS[ZLIB]="github.com/madler/zlib.git"
|
REPO_ADDRESS[ZLIB]="github.com/madler/zlib.git"
|
||||||
REPO_SITE[ZLIB]="GitHub"
|
REPO_SITE[ZLIB]="GitHub"
|
||||||
REPO_ADDRESS[PLIB]="git.code.sf.net/p/libplib/code"
|
REPO_ADDRESS[PLIB]="git.code.sf.net/p/libplib/code"
|
||||||
|
@ -815,7 +815,7 @@ if _elementIn "CMAKE" "${WHATTOBUILD[@]}"; then
|
||||||
mkdir -p "cmake"
|
mkdir -p "cmake"
|
||||||
cd "$CBD"/cmake
|
cd "$CBD"/cmake
|
||||||
_gitDownload CMAKE
|
_gitDownload CMAKE
|
||||||
_gitUpdate master
|
_gitUpdate release
|
||||||
|
|
||||||
if [ "$RECONFIGURE" = "y" ]; then
|
if [ "$RECONFIGURE" = "y" ]; then
|
||||||
cd "$CBD"
|
cd "$CBD"
|
||||||
|
|
Loading…
Reference in a new issue