summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-03-03 11:38:36 +0000
committerRichard van der Hoff <richard@matrix.org>2016-03-03 19:13:43 +0000
commit62d808beccaf4ef94e743c57b9570bea99071eb7 (patch)
tree9071a1674496e03a3eb1db03ed562d32679fc06c
parentMerge pull request #621 from matrix-org/daniel/ratelimiting (diff)
downloadsynapse-62d808beccaf4ef94e743c57b9570bea99071eb7.tar.xz
jenkins-*.sh: set -x
Also move the options from the shebang line to the body of the script, so that
they take effect even if somebody explicitly runs "bash jenkins.sh"
-rwxr-xr-xjenkins-flake8.sh4
-rwxr-xr-xjenkins-postgres.sh4
-rwxr-xr-xjenkins-sqlite.sh4
-rwxr-xr-xjenkins-unittests.sh4
4 files changed, 12 insertions, 4 deletions
diff --git a/jenkins-flake8.sh b/jenkins-flake8.sh
index cbcb0ae4c0..11f1cab6c8 100755
--- a/jenkins-flake8.sh
+++ b/jenkins-flake8.sh
@@ -1,4 +1,6 @@
-#!/bin/bash -eu
+#!/bin/bash
+
+set -eux
 
 : ${WORKSPACE:="$(pwd)"}
 
diff --git a/jenkins-postgres.sh b/jenkins-postgres.sh
index 1708cbfaaa..d1fed590a2 100755
--- a/jenkins-postgres.sh
+++ b/jenkins-postgres.sh
@@ -1,4 +1,6 @@
-#!/bin/bash -eu
+#!/bin/bash
+
+set -eux
 
 : ${WORKSPACE:="$(pwd)"}
 
diff --git a/jenkins-sqlite.sh b/jenkins-sqlite.sh
index 2d98a0af93..57fd8de54d 100755
--- a/jenkins-sqlite.sh
+++ b/jenkins-sqlite.sh
@@ -1,4 +1,6 @@
-#!/bin/bash -eu
+#!/bin/bash
+
+set -eux
 
 : ${WORKSPACE:="$(pwd)"}
 
diff --git a/jenkins-unittests.sh b/jenkins-unittests.sh
index 2fa2f1b1de..104d511994 100755
--- a/jenkins-unittests.sh
+++ b/jenkins-unittests.sh
@@ -1,4 +1,6 @@
-#!/bin/bash -eu
+#!/bin/bash
+
+set -eux
 
 : ${WORKSPACE:="$(pwd)"}