Skip to content

Commit

Permalink
Merge pull request #13293 from Paxxi/mirror
Browse files Browse the repository at this point in the history
[depends][windows] Print the mirror redirected to for easier debugging of of mirror issues
  • Loading branch information
Rechi committed Jan 2, 2018
2 parents a4ad91e + de42ae8 commit 417079c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/BuildDependencies/scripts/get_formed.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ IF EXIST %1 (
) ELSE (
CALL :setSubStageName Downloading %1...
SET DOWNLOAD_URL=%KODI_MIRROR%/build-deps/win32/%1
%WGET% --quiet --tries=5 --retry-connrefused --waitretry=2 --show-progress "!DOWNLOAD_URL!" 2>&1
%WGET% -S --quiet --tries=5 --retry-connrefused --waitretry=2 --show-progress "!DOWNLOAD_URL!" 2>&1 | findstr /L /I "Location:"
REM Apparently there's a quirk in cmd so this means if error level => 1
IF ERRORLEVEL 1 (
ECHO %1^|Download of !DOWNLOAD_URL! failed >> %FORMED_FAILED_LIST%
Expand Down

0 comments on commit 417079c

Please sign in to comment.