aboutsummaryrefslogtreecommitdiff
path: root/project/VS2008Express/update_svn_rev.bat
diff options
context:
space:
mode:
Diffstat (limited to 'project/VS2008Express/update_svn_rev.bat')
-rw-r--r--project/VS2008Express/update_svn_rev.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/project/VS2008Express/update_svn_rev.bat b/project/VS2008Express/update_svn_rev.bat
index ce096a38e8..759db4a670 100644
--- a/project/VS2008Express/update_svn_rev.bat
+++ b/project/VS2008Express/update_svn_rev.bat
@@ -12,9 +12,12 @@ IF EXIST "..\..\.svn" (
SetLocal EnableDelayedExpansion
+set oldCurrentDir=%CD%
IF EXIST "..\..\.git" (
+ cd ..\..
FOR /F "delims=: skip=8 tokens=2*" %%a IN ('git svn info') DO (call :set_var %%a %%b)
)
+chdir /d %oldCurrentDir%
copy "..\..\xbmc\win32\svn_rev_git.tmpl" "%REV_FILE%"