chiark / gitweb /
Infra: Honour archive-query-tls-curl-ca-args
[dgit.git] / infra / ssh-wrap
index ad52709..48a9e43 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/sh
 set -e
-dispatchdir=/srv/dgit.debian.org/dispatch-dir
-exec $dispatchdir/distro=debian/dgit-live/infra/ssh-dispatch $dispatchdir
+srvdir=/srv/dgit.debian.org
+dispatchdir=$srvdir/dispatch-dir
+dgitlive=$srvdir/dgit-live
+PERLLIB="$dgitlive${PERLLIB+:}${PERLLIB}" \
+exec $dgitlive/infra/dgit-ssh-dispatch $dispatchdir