diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-11-28 13:09:25 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-11-29 12:59:19 +0000 |
commit | debbea5b29ce9985d0568c39a9fe7ad01f1e9dd4 (patch) | |
tree | 5047916303a3a73fa1d187e3d8b1276b8ac31129 /jenkins/prepare_synapse.sh | |
parent | Merge pull request #1655 from matrix-org/rav/remove_redundant_macaroon_checks (diff) | |
download | synapse-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-x | jenkins/prepare_synapse.sh | 6 |
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 |