win32: only call 'exit' when building in teamcity
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 19 Apr 2012 10:46:18 +0000 (12:46 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 19 Apr 2012 10:46:18 +0000 (12:46 +0200)
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%
+)
+