summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-01-02 07:30:31 +0000
committerGitHub <noreply@github.com>2019-01-02 07:30:31 +0000
commite9cdfedff3a3dd4b6d60187561d0538cdc2ac519 (patch)
tree06c9ee5f2e7b657a6a4136ea95399e8e564828d5 /debian
parentInstall the optional dependencies into the debian package (#4325) (diff)
downloadsynapse-e9cdfedff3a3dd4b6d60187561d0538cdc2ac519.tar.xz
Avoid packaging _trial_temp directory (#4326)
Make sure we don't put the _trial_temp directory in the package target
directory.

Fixes https://github.com/matrix-org/synapse/issues/4322
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/build_virtualenv3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/build_virtualenv b/debian/build_virtualenv
index e9ef245476..83346c40f1 100755
--- a/debian/build_virtualenv
+++ b/debian/build_virtualenv
@@ -42,8 +42,7 @@ tmpdir=`mktemp -d`
 trap "rm -r $tmpdir" EXIT
 
 cp -r tests "$tmpdir"
-cd debian/matrix-synapse-py3
 
 PYTHONPATH="$tmpdir" \
-    ./opt/venvs/matrix-synapse/bin/python \
+    debian/matrix-synapse-py3/opt/venvs/matrix-synapse/bin/python \
         -B -m twisted.trial --reporter=text -j2 tests