mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 11:18:10 +02:00
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:
parent
51c7a42e32
commit
df7a7d6acc
@ -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%
|
||||
|
Loading…
Reference in New Issue
Block a user