diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-05-24 18:56:04 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-05-24 18:56:04 +0000 |
commit | 24914309cc6db275c5779078357861ddf22a469e (patch) | |
tree | 43d42b4ebadb2be1f06a92f6272c19361555896f /build/make_ver.bat | |
parent | c2dd106d2da0d6c0118662efe485135150c0de41 (diff) |
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
Diffstat (limited to 'build/make_ver.bat')
-rw-r--r-- | build/make_ver.bat | 2 |
1 files changed, 2 insertions, 0 deletions
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
|