mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Update downloads.dlang.org links to use https (#14516)
This commit is contained in:
parent
9ceae92890
commit
c637c6ad16
7 changed files with 11 additions and 11 deletions
|
@ -34,9 +34,9 @@ download() {
|
|||
|
||||
install_host_dmd() {
|
||||
if [ ! -f dmd2/README.TXT ]; then
|
||||
download "http://downloads.dlang.org/releases/2.x/${HOST_DMD_VERSION}/dmd.${HOST_DMD_VERSION}.windows.7z" dmd2.7z
|
||||
download "https://downloads.dlang.org/releases/2.x/${HOST_DMD_VERSION}/dmd.${HOST_DMD_VERSION}.windows.7z" dmd2.7z
|
||||
7z x dmd2.7z > /dev/null
|
||||
download "http://downloads.dlang.org/other/libcurl-7.65.3-2-WinSSL-zlib-x86-x64.zip" libcurl.zip
|
||||
download "https://downloads.dlang.org/other/libcurl-7.65.3-2-WinSSL-zlib-x86-x64.zip" libcurl.zip
|
||||
7z -y x libcurl.zip > /dev/null
|
||||
fi
|
||||
export PATH="$PWD/dmd2/windows/bin/:$PATH"
|
||||
|
@ -50,7 +50,7 @@ install_host_dmd() {
|
|||
|
||||
install_host_dmc() {
|
||||
if [ ! -f dm/README.TXT ]; then
|
||||
download "http://downloads.dlang.org/other/dm857c.zip" dmc.zip
|
||||
download "https://downloads.dlang.org/other/dm857c.zip" dmc.zip
|
||||
7z x dmc.zip > /dev/null
|
||||
download "http://ftp.digitalmars.com/sppn.zip" sppn.zip
|
||||
7z x -odm/bin sppn.zip > /dev/null
|
||||
|
@ -67,7 +67,7 @@ install_grep() {
|
|||
mkdir -p "$tools_dir"
|
||||
cd "$tools_dir"
|
||||
if [ ! -f grep.exe ]; then
|
||||
download "http://downloads.dlang.org/other/grep-3.1.zip" "grep-3.1.zip"
|
||||
download "https://downloads.dlang.org/other/grep-3.1.zip" "grep-3.1.zip"
|
||||
unzip "grep-3.1.zip" # contains grep.exe
|
||||
fi
|
||||
export PATH="${tools_dir}:$PATH"
|
||||
|
|
|
@ -64,7 +64,7 @@ cd "%DMD_DIR%"
|
|||
if not "%C_RUNTIME%" == "mingw" goto not_mingw
|
||||
rem install recent LLD and mingw libraries to built dmd
|
||||
if exist "%DMD_DIR%\generated\Windows\%CONFIGURATION%\%PLATFORM%\lld-link.exe" goto lld_exists
|
||||
powershell -command "& { iwr http://downloads.dlang.org/other/lld-link-9.0.0-seh.zip -OutFile lld.zip }" || exit /B 11
|
||||
powershell -command "& { iwr https://downloads.dlang.org/other/lld-link-9.0.0-seh.zip -OutFile lld.zip }" || exit /B 11
|
||||
7z x lld.zip -o%DMD_DIR%\generated\Windows\%CONFIGURATION%\%PLATFORM% || exit /B 12
|
||||
:lld_exists
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ visuald() {
|
|||
################################################################################
|
||||
|
||||
dm_make() {
|
||||
download "http://downloads.dlang.org/other/dm857c.zip" dmc.zip
|
||||
download "https://downloads.dlang.org/other/dm857c.zip" dmc.zip
|
||||
unzip dmc.zip > /dev/null
|
||||
export DMC="$PWD/dm/bin/dmc.exe"
|
||||
export DM_MAKE="$PWD/dm/bin/make.exe"
|
||||
|
|
|
@ -15,7 +15,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|||
install_grep
|
||||
|
||||
if [ "$HOST_DMD_VERSION" == "LATEST" ]; then
|
||||
download "http://downloads.dlang.org/releases/LATEST" LATEST
|
||||
download "https://downloads.dlang.org/releases/LATEST" LATEST
|
||||
HOST_DMD_VERSION="$(cat LATEST)"
|
||||
fi
|
||||
echo "D_VERSION: $HOST_DMD_VERSION"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue