Don't create installer, if compilation of Lazarus failed.

git-svn-id: trunk@6149 -
This commit is contained in:
vincents 2004-10-17 13:53:27 +00:00
parent b329d6bd23
commit c1b5b77b3c

View File

@ -57,13 +57,20 @@ samplecfg.vbs
call build-lazarus.bat
:: do not create installer, if the required executables are not there
if not exist %BUILDDIR%\lazarus.exe goto END
if not exist %BUILDDIR%\startlazarus.exe goto END
:: create the installer
%ISCC% lazarus.iss >> installer.log
:: delete build dir
rd /s /q %BUILDDIR% > NUL
:END
SET PATH=%OLDPATH%
ECHO Finished at: >> %LOGFILE%
%FPCBINDIR%\gdate >> %LOGFILE%