summaryrefslogtreecommitdiff
path: root/security/nss/automation/buildbot-slave/startbuild.bat
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/automation/buildbot-slave/startbuild.bat')
-rw-r--r--security/nss/automation/buildbot-slave/startbuild.bat14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/nss/automation/buildbot-slave/startbuild.bat b/security/nss/automation/buildbot-slave/startbuild.bat
new file mode 100644
index 000000000..ba06834f1
--- /dev/null
+++ b/security/nss/automation/buildbot-slave/startbuild.bat
@@ -0,0 +1,14 @@
+echo running > ..\buildbot-is-building
+
+echo running: "%MOZILLABUILD%\msys\bin\bash" -c "hg/nss/automation/buildbot-slave/build.sh %*"
+"%MOZILLABUILD%\msys\bin\bash" -c "hg/nss/automation/buildbot-slave/build.sh %*"
+
+if %errorlevel% neq 0 (
+ set EXITCODE=1
+) else (
+ set EXITCODE=0
+)
+
+del ..\buildbot-is-building
+
+exit /b %EXITCODE%