From 24914309cc6db275c5779078357861ddf22a469e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 24 May 2015 18:56:04 +0000 Subject: make_ver: Fix building when svnversion tool is not installed git-svn-id: http://svn.miranda-ng.org/main/trunk@13817 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- build/make_ver.bat | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build') diff --git a/build/make_ver.bat b/build/make_ver.bat index c4f1498dc0..34c4e65f07 100644 --- a/build/make_ver.bat +++ b/build/make_ver.bat @@ -6,6 +6,8 @@ for /F %%i in ('svnversion build.no') do set Revision=%%i REM Fix building not-svn repository (e.g., Git mirror) if "%Revision:~0,11%" == "Unversioned" (set Revision=0) +REM Fix building when svnversion tool is not installed +if "%Revision%" == "" (set Revision=0) for /F "tokens=1,2,3 delims= " %%i in (build.no) do call :WriteVer %%i %%j %%k %Revision% goto :eof -- cgit v1.2.3