summary refs log tree commit diff
diff options
context:
space:
mode:
authorBartek Rutkowski <bartekrutkowski@users.noreply.github.com>2016-06-10 11:33:43 +0100
committerGitHub <noreply@github.com>2016-06-10 11:33:43 +0100
commit50f69e2ef266cf08aaff0311705fcf56dc1bd9f3 (patch)
treec9399e131ef76ae9c9104fe4ad0ac212de9b0c4b
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-50f69e2ef266cf08aaff0311705fcf56dc1bd9f3.tar.xz
Change /bin/bash to /bin/sh in tox.ini
No features of Bash are used here, so using /bin/sh makes it more portable to systems that don't have Bash natively (like BSD systems).
Diffstat (limited to '')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 757b7189c3..52d93c65e5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ deps =
 setenv =
     PYTHONDONTWRITEBYTECODE = no_byte_code
 commands =
-    /bin/bash -c "find {toxinidir} -name '*.pyc' -delete ; coverage run {env:COVERAGE_OPTS:} --source={toxinidir}/synapse \
+    /bin/sh -c "find {toxinidir} -name '*.pyc' -delete ; coverage run {env:COVERAGE_OPTS:} --source={toxinidir}/synapse \
         {envbindir}/trial {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:}"
     {env:DUMP_COVERAGE_COMMAND:coverage report -m}
 
@@ -26,4 +26,4 @@ skip_install = True
 basepython = python2.7
 deps =
     flake8
-commands = /bin/bash -c "flake8 synapse tests {env:PEP8SUFFIX:}"
+commands = /bin/sh -c "flake8 synapse tests {env:PEP8SUFFIX:}"