mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-10 04:58:08 +08:00
Fix for DownloadURL to try alternative URL
Change-Id: I7e9a77815ef8f4c258dda44bda6fdd4eb3736ef4 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
This commit is contained in:
@@ -99,9 +99,9 @@ DownloadURL () {
|
|||||||
if ! Download "$url" "$targetFile"
|
if ! Download "$url" "$targetFile"
|
||||||
then
|
then
|
||||||
echo "FAIL! to download, trying alternative URL: $url2" 1>&2
|
echo "FAIL! to download, trying alternative URL: $url2" 1>&2
|
||||||
if ! Download "$url" "$targetFile"
|
if ! Download "$url2" "$targetFile"
|
||||||
then
|
then
|
||||||
echo 'FAIL! to download even from alternative url' 1>&2
|
echo 'FAIL! to download even from alternative URL' 1>&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user