From 4fc7896ba3dcee3a7fd396b1567b6438481d69e5 Mon Sep 17 00:00:00 2001 From: blinkseb Date: Wed, 23 Jun 2010 22:58:55 +0000 Subject: [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 --- project/VS2010Express/update_svn_rev.bat | 3 +++ 1 file changed, 3 insertions(+) (limited to 'project/VS2010Express') diff --git a/project/VS2010Express/update_svn_rev.bat b/project/VS2010Express/update_svn_rev.bat index 6ab91cb8fc..ce096a38e8 100644 --- a/project/VS2010Express/update_svn_rev.bat +++ b/project/VS2010Express/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% -- cgit v1.2.3