diff options
author | montellese <montellese@kodi.tv> | 2020-04-27 10:15:07 +0200 |
---|---|---|
committer | montellese <montellese@kodi.tv> | 2020-04-27 10:15:07 +0200 |
commit | 55e6b61820ec6de98c026d1a21e8f7437d6e5065 (patch) | |
tree | 3a2434c31a42499548c34161edc4336998b00c75 /project | |
parent | c004dccd799ad992b2a438c5bc0a95be1e6ee852 (diff) |
Revert "Print the mirror redirected to for easier debugging of of mirror issues"
This reverts commit de42ae8635eead2a678bc6c94738a03d55fb3e7b. It breaks
downloading dependencies from any mirror which does not return the "Location"
HTTP header. Furthermore it invalidates the value of ERRORLEVEL which now
contains the return code of findstr instead of from wget.
Diffstat (limited to 'project')
-rw-r--r-- | project/BuildDependencies/scripts/get_formed.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/BuildDependencies/scripts/get_formed.cmd b/project/BuildDependencies/scripts/get_formed.cmd index 92fcb80a8c..41f40510ac 100644 --- a/project/BuildDependencies/scripts/get_formed.cmd +++ b/project/BuildDependencies/scripts/get_formed.cmd @@ -64,7 +64,7 @@ IF EXIST %1 ( ) ELSE ( CALL :setSubStageName Downloading %1... SET DOWNLOAD_URL=%KODI_MIRROR%/build-deps/win32/%1 - %WGET% -S --quiet --tries=5 --retry-connrefused --waitretry=2 --show-progress "!DOWNLOAD_URL!" 2>&1 | findstr /L /I "Location:" + %WGET% --quiet --tries=5 --retry-connrefused --waitretry=2 --show-progress "!DOWNLOAD_URL!" 2>&1 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% |