win32 installer build script: check for LAZREVISION instead of error level, errorlevel is sometimes 1 (don't know why), even though the correct revision has been set.

git-svn-id: trunk@38196 -
This commit is contained in:
vincents 2012-08-07 11:12:01 +00:00
parent 51c7a42e32
commit df7a7d6acc

View File

@ -70,7 +70,7 @@ SET BUILDDRIVE=%BUILDDIR:~,2%
SET CP=%FPCBINDIR%\cp.exe
FOR /F "delims='" %%F IN (%LAZSVNDIR%\ide\version.inc) DO set LAZVERSION=%%F
FOR /F %%F IN ('svnversion.exe %LAZSVNDIR%') DO set LAZREVISION=%%F
IF %ERRORLEVEL% NEQ 0 GOTO SVNVERERR
IF [%LAZREVISION%] == [] GOTO SVNVERERR
ECHO Starting at: > %LOGFILE%