aboutsummaryrefslogtreecommitdiff
path: root/project/Win32BuildSetup
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2017-05-11 22:02:51 +0200
committerRechi <Rechi@users.noreply.github.com>2017-05-11 22:02:51 +0200
commitb375884a9a2490fa35bbb75630f22987553e4bbb (patch)
tree4b489c829f29763189efe97a54ea4046578061c3 /project/Win32BuildSetup
parent4551978380dfcc9bd31c3c150a97fda95d440c30 (diff)
[windows] retry download depends & vcredist if it fails
Diffstat (limited to 'project/Win32BuildSetup')
-rw-r--r--project/Win32BuildSetup/getdeploydependencies.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/Win32BuildSetup/getdeploydependencies.bat b/project/Win32BuildSetup/getdeploydependencies.bat
index ed9ee46000..728ec8c3db 100644
--- a/project/Win32BuildSetup/getdeploydependencies.bat
+++ b/project/Win32BuildSetup/getdeploydependencies.bat
@@ -12,7 +12,7 @@ if not exist dependencies\vcredist\2015 mkdir dependencies\vcredist\2015
if not exist dependencies\vcredist\2015\vcredist_%TARGET_ARCHITECTURE%.exe (
echo Downloading vc140 redist...
- ..\BuildDependencies\bin\wget -nv -O dependencies\vcredist\2015\vcredist_%TARGET_ARCHITECTURE%.exe %KODI_MIRROR%/build-deps/win32/vcredist/2015/vcredist_%TARGET_ARCHITECTURE%.exe
+ ..\BuildDependencies\bin\wget --tries=5 --retry-connrefused --waitretry=2 -nv -O dependencies\vcredist\2015\vcredist_%TARGET_ARCHITECTURE%.exe %KODI_MIRROR%/build-deps/win32/vcredist/2015/vcredist_%TARGET_ARCHITECTURE%.exe
)
:: Restore the previous current directory
POPD