Skip to content

Commit

Permalink
[misc] appveyor server msi retrival, follow redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Oct 18, 2020
1 parent 5c9d7fe commit b84c27d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions appveyor-download.bat
Expand Up @@ -2,12 +2,11 @@
set archive=http://ftp.hosteurope.de/mirror/archive.mariadb.org//mariadb-%DB%/winx64-packages/mariadb-%DB%-winx64.msi
set last=http://mirror.i3d.net/pub/mariadb//mariadb-%DB%/winx64-packages/mariadb-%DB%-winx64.msi

curl -fsS -o server.msi %archive%
curl -fLsS -o server.msi %archive%

if %ERRORLEVEL% == 0 goto end


curl -fsS -o server.msi %last%
curl -fLsS -o server.msi %last%
if %ERRORLEVEL% == 0 goto end

echo Failure Reason Given is %errorlevel%
Expand Down

0 comments on commit b84c27d

Please sign in to comment.