mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Fix Coin prebuilt GCC download
We already have the DownloadURL function which is used pretty much everywhere except here, so it makes sense to use it here too. Change-Id: Icc1d3db7e4e3d3f61f6cd6a22b35e2ef007ff40c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
@@ -69,7 +69,7 @@ function InstallGCC() {
|
||||
buildFolder="$HOME/gcc_build"
|
||||
|
||||
echo "Fetching prebuilt GCC."
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$prebuiltTarget" "$prebuiltGCC" || (
|
||||
DownloadURL "$prebuiltGCC" "" "$prebuiltSHA1" "$prebuiltTarget" || (
|
||||
echo "Fetching prebuilt GCC failed. Building from sources."
|
||||
DownloadURL "$cachedUrl" "$officialUrl" "$sourcesSHA1" "$targetFile"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user