aboutsummaryrefslogtreecommitdiff
path: root/project/VS2008Express
diff options
context:
space:
mode:
authorblinkseb <blinkseb@svn>2010-06-23 22:58:55 +0000
committerblinkseb <blinkseb@svn>2010-06-23 22:58:55 +0000
commit4fc7896ba3dcee3a7fd396b1567b6438481d69e5 (patch)
tree7e2bdec583c3abe9c4e7145752cc54a8445d9bf1 /project/VS2008Express
parentcd6afa8273020511574909f65aea0796384e2d83 (diff)
[WIN32] fixed: if git is not found, default define to "Unknown"
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31343 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'project/VS2008Express')
-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 6ab91cb8fc..ce096a38e8 100644
--- a/project/VS2008Express/update_svn_rev.bat
+++ b/project/VS2008Express/update_svn_rev.bat
@@ -18,6 +18,9 @@ IF EXIST "..\..\.git" (
copy "..\..\xbmc\win32\svn_rev_git.tmpl" "%REV_FILE%"
+if "%REV%"=="" set REV=Unknown
+if "%REV_DATE%"=="" set REV_DATE=Unknown
+
echo #define SVN_REV "%REV%" >> %REV_FILE%
echo #define SVN_DATE "%REV_DATE%" >> %REV_FILE%