aboutsummaryrefslogtreecommitdiff
path: root/project/BuildDependencies/DownloadBuildDeps.bat
diff options
context:
space:
mode:
Diffstat (limited to 'project/BuildDependencies/DownloadBuildDeps.bat')
-rw-r--r--project/BuildDependencies/DownloadBuildDeps.bat11
1 files changed, 6 insertions, 5 deletions
diff --git a/project/BuildDependencies/DownloadBuildDeps.bat b/project/BuildDependencies/DownloadBuildDeps.bat
index a35a3f3ab4..58742f7e70 100644
--- a/project/BuildDependencies/DownloadBuildDeps.bat
+++ b/project/BuildDependencies/DownloadBuildDeps.bat
@@ -6,6 +6,11 @@ SET CUR_PATH=%CD%
SET XBMC_PATH=%CD%\..\..
SET TMP_PATH=%CD%\scripts\tmp
+rem can't run rmdir and md back to back. access denied error otherwise.
+IF EXIST lib rmdir lib /S /Q
+IF EXIST include rmdir include /S /Q
+IF EXIST %TMP_PATH% rmdir %TMP_PATH% /S /Q
+
IF $%1$ == $$ (
SET DL_PATH="%CD%\downloads"
) ELSE (
@@ -17,15 +22,11 @@ SET ZIP=%CUR_PATH%\..\Win32BuildSetup\tools\7z\7za
IF NOT EXIST %DL_PATH% md %DL_PATH%
-rem can't run rmdir and md back to back. access denied error otherwise.
-IF EXIST lib rmdir lib /S /Q
-IF EXIST include rmdir include /S /Q
-IF EXIST %TMP_PATH% rmdir %TMP_PATH% /S /Q
md lib
md include
md %TMP_PATH%
-cd scripts
+pause
FOR /F "tokens=*" %%S IN ('dir /B "*_d.bat"') DO (
echo running %%S ...