From: Lars Op den Kamp Date: Thu, 5 Apr 2012 18:03:48 +0000 (+0200) Subject: win32: added an exit code in the build script X-Git-Tag: upstream/2.2.0~1^2~31^2~17 X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=commitdiff_plain;h=948ee14e5a7ab35299502d5a141b66b93bb7f4b0 win32: added an exit code in the build script --- diff --git a/support/create-installer.bat b/support/create-installer.bat index 2f19005..73b7a0f 100644 --- a/support/create-installer.bat +++ b/support/create-installer.bat @@ -1,5 +1,7 @@ @echo off +set EXITCODE=1 + rem Check for NSIS IF EXIST "%ProgramFiles%\NSIS\makensis.exe" ( set NSIS="%ProgramFiles%\NSIS\makensis.exe" @@ -134,6 +136,7 @@ IF "%1%"=="" ( echo. The installer can be found here: ..\build\libCEC-%1%-installer.exe ) +set EXITCODE=0 GOTO EXIT :NOSDK10 @@ -162,3 +165,4 @@ del /s /f /q ..\build\x64 rmdir ..\build\x64 cd ..\support +exit %EXITCODE%