From: Lars Op den Kamp Date: Thu, 19 Apr 2012 10:46:18 +0000 (+0200) Subject: win32: only call 'exit' when building in teamcity X-Git-Tag: upstream/2.2.0~1^2~29^2~8 X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=commitdiff_plain;h=3c9f1fb46448428d31ae4b34de3c95d1785a200e win32: only call 'exit' when building in teamcity --- diff --git a/support/create-installer.bat b/support/create-installer.bat index 73b7a0f..d9f6a57 100644 --- a/support/create-installer.bat +++ b/support/create-installer.bat @@ -165,4 +165,9 @@ del /s /f /q ..\build\x64 rmdir ..\build\x64 cd ..\support -exit %EXITCODE% +IF "%1%"=="" ( + echo. exitcode = %EXITCODE% +) ELSE ( + exit %EXITCODE% +) +