Skip to content

Commit

Permalink
Fix for DownloadURL to try alternative URL
Browse files Browse the repository at this point in the history
Change-Id: I7e9a77815ef8f4c258dda44bda6fdd4eb3736ef4
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
  • Loading branch information
jimis committed Oct 15, 2019
1 parent 482552d commit 518e114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coin/provisioning/common/unix/DownloadURL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ DownloadURL () {
if ! Download "$url" "$targetFile"
then
echo "FAIL! to download, trying alternative URL: $url2" 1>&2
if ! Download "$url" "$targetFile"
if ! Download "$url2" "$targetFile"
then
echo 'FAIL! to download even from alternative url' 1>&2
echo 'FAIL! to download even from alternative URL' 1>&2
return 1
fi
fi
Expand Down

0 comments on commit 518e114

Please sign in to comment.