diff options
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
|