blob: 14a2bd4bd7c823aedd8228f63a0940089947ffb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
@ECHO OFF
SETLOCAL
SET CUR_PATH=%CD%
SET XBMC_PATH=%CD%\..\..
SET DL_PATH=%CD%\downloads
SET TMP_PATH=%CD%\scripts\tmp
SET WGET=%CUR_PATH%\bin\wget
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
FOR /F "tokens=*" %%S IN ('dir /B "*_d.bat"') DO (
echo running %%S ...
CALL %%S
)
cd %CUR_PATH%
rmdir %TMP_PATH% /S /Q
|