From 948ee14e5a7ab35299502d5a141b66b93bb7f4b0 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 5 Apr 2012 20:03:48 +0200 Subject: [PATCH] win32: added an exit code in the build script --- support/create-installer.bat | 4 ++++ 1 file changed, 4 insertions(+) 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% -- 2.34.1