win32: only call 'exit' when building in teamcity
[deb_libcec.git] / support / create-installer.bat
index 73b7a0f1341a5c9fc803a7f6aa20bd109a739503..d9f6a579d3b3a20d8586250000f3633716b199f3 100644 (file)
@@ -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%
+)
+