chiark / gitweb /
Infra: ssh-wrap: set PERLLIB and get name of script right
[dgit.git] / infra / ssh-wrap
index ad527099b77883abeaa6c68acf3f70bc009097dc..7cb6e3daac16198998f5e5bff8a60c9c6ca4c6e2 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
 set -e
 dispatchdir=/srv/dgit.debian.org/dispatch-dir
-exec $dispatchdir/distro=debian/dgit-live/infra/ssh-dispatch $dispatchdir
+dgitlive=$dispatchdir/distro=debian/dgit-live
+PERLLIB="$dgitlive${PERLLIB+:}${PERLLIB}"
+exec $dgitlive/infra/dgit-ssh-dispatch $dispatchdir