aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2012-12-16 16:39:01 +0100
committermontellese <montellese@xbmc.org>2012-12-16 18:40:12 +0100
commit7bc434c1ec8e9f81ce40c0e4d72863c38b52d6b5 (patch)
tree0c1fa15a7dfeeb23353f897e07adf0690b355da3 /project
parentc921eff5cad716cb1d37198ea25e56922b2e0f99 (diff)
[win32] get the proper version/revision of xbmc-pvr-addons
Diffstat (limited to 'project')
-rw-r--r--project/Win32BuildSetup/buildpvraddons.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/project/Win32BuildSetup/buildpvraddons.bat b/project/Win32BuildSetup/buildpvraddons.bat
index 0b4c6a604d..7e5fe7c4c0 100644
--- a/project/Win32BuildSetup/buildpvraddons.bat
+++ b/project/Win32BuildSetup/buildpvraddons.bat
@@ -45,10 +45,13 @@ IF NOT EXIST "%TMP_DIR%" MD "%TMP_DIR%"
REM clone the git repository into SOURCE_DIR
CALL %GITEXE% clone %GIT_URL% "%SOURCE_DIR%" > NUL 2>&1
+CD "%SOURCE_DIR%"
+REM get the proper revision
+CALL %GITEXE% checkout %VERSION% > NUL 2>&1
:build
REM run DownloadBuildDeps.bat of xbmc-pvr-addons
-CD "%SOURCE_DIR%\project\BuildDependencies"
+CD "project\BuildDependencies"
CALL DownloadBuildDeps.bat > NUL 2>&1
CD "%CUR_DIR%"