Appveyor CI is failing due to a 302 redirect. (#1697)

This PR changes the download URL to the new location.

Example of CI failure:
https://ci.appveyor.com/project/transmissionbt/transmission/builds/39088944/job/wy2w6jn6y8cgkjlv#L349
This commit is contained in:
Charles Kerr 2021-05-18 09:41:17 -05:00 committed by GitHub
parent 8dd2928976
commit 7026c91797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ $global:QtDeps = @(
function global:Build-Qt([string] $PrefixDir, [string] $Arch, [string] $DepsPrefixDir) {
$Filename = "qt-everywhere-src-${QtVersion}.zip" # tar.xz has some names truncated (e.g. .../double-conversion.h -> .../double-conv)
$Url = "http://download.qt.io/archive/qt/$($QtVersion -replace '\.\d+$', '')/${QtVersion}/single/${Filename}"
$Url = "http://qt.mirror.constant.com/archive/qt/$($QtVersion -replace '\.\d+$', '')/${QtVersion}/single/${Filename}"
$ArchiveBase = "qt-everywhere-src-${QtVersion}"
$UnpackFlags = @(