summary refs log tree commit diff
path: root/jenkins/prepare_synapse.sh
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-11-28 13:09:25 +0000
committerRichard van der Hoff <richard@matrix.org>2016-11-29 12:59:19 +0000
commitdebbea5b29ce9985d0568c39a9fe7ad01f1e9dd4 (patch)
tree5047916303a3a73fa1d187e3d8b1276b8ac31129 /jenkins/prepare_synapse.sh
parentMerge pull request #1655 from matrix-org/rav/remove_redundant_macaroon_checks (diff)
downloadsynapse-debbea5b29ce9985d0568c39a9fe7ad01f1e9dd4.tar.xz
Let pip install multiple packages at once
Pip can install multiple dependencies at the same time, so there is no need to
use xargs -n1. It's significantly slower with -n1, so let's not do it with no
reason.
Diffstat (limited to '')
-rwxr-xr-xjenkins/prepare_synapse.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkins/prepare_synapse.sh b/jenkins/prepare_synapse.sh
index 6c26c5842c..ffcb1cfab9 100755
--- a/jenkins/prepare_synapse.sh
+++ b/jenkins/prepare_synapse.sh
@@ -15,6 +15,6 @@ tox -e py27 --notest -v
 
 TOX_BIN=$TOX_DIR/py27/bin
 $TOX_BIN/pip install setuptools
-python synapse/python_dependencies.py | xargs -n1 $TOX_BIN/pip install
-$TOX_BIN/pip install lxml
-$TOX_BIN/pip install psycopg2
+{ python synapse/python_dependencies.py
+  echo lxml psycopg2
+} | xargs $TOX_BIN/pip install