Skip to content

Commit

Permalink
Tweak errorlevel checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Feb 5, 2013
1 parent eaad84f commit e1d7ef3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rem files are stored there for later use while preparing an ISPack release

setlocal

set VER=5.5.3
set VER=5.5.4

echo Building Inno Setup %VER%...
echo.
Expand All @@ -48,9 +48,9 @@ echo IS help done
pause

call .\compile.bat
if errorlevel 1 goto failed
echo ANSI compile done
pause
if errorlevel 1 goto failed
echo - Setup.exe
if exist .\setup-sign.bat (
call .\setup-sign.bat
Expand All @@ -65,15 +65,16 @@ echo - Renaming files
cd output
if errorlevel 1 goto failed
move /y setup.exe isetup-%VER%.exe
if errorlevel 1 goto failed
cd ..
if errorlevel 1 goto failed
echo ANSI setup done
pause

call .\compile-unicode.bat
if errorlevel 1 goto failed
echo Unicode compile done
pause
if errorlevel 1 goto failed
echo - Setup.exe
if exist .\setup-sign.bat (
call .\setup-sign.bat
Expand All @@ -88,6 +89,7 @@ echo - Renaming files
cd output
if errorlevel 1 goto failed
move /y setup.exe isetup-%VER%-unicode.exe
if errorlevel 1 goto failed
cd ..
if errorlevel 1 goto failed
echo Unicode setup done
Expand Down

0 comments on commit e1d7ef3

Please sign in to comment.