aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblinkseb <blinkseb@svn>2010-06-23 23:30:57 +0000
committerblinkseb <blinkseb@svn>2010-06-23 23:30:57 +0000
commitc2baf8fb83a5bc2984acff144d679f5882c41772 (patch)
tree3e4d329d8aa7d581370d766bdc522ac92e8e8cd9
parent4fc7896ba3dcee3a7fd396b1567b6438481d69e5 (diff)
[WIN32] fixed: the fetched svn revision wasn't correct
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31344 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--project/VS2008Express/update_svn_rev.bat3
-rw-r--r--project/VS2010Express/update_svn_rev.bat3
2 files changed, 6 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%"
diff --git a/project/VS2010Express/update_svn_rev.bat b/project/VS2010Express/update_svn_rev.bat
index ce096a38e8..759db4a670 100644
--- a/project/VS2010Express/update_svn_rev.bat
+++ b/project/VS2010Express/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%"