From 16570fa6d2c817138272294ac143db1252376ba8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 20 Jun 2015 17:31:09 +0100 Subject: Infra: dgit-ssh-dispatch sets PERLLIB --- infra/dgit-ssh-dispatch | 3 +++ 1 file changed, 3 insertions(+) (limited to 'infra/dgit-ssh-dispatch') diff --git a/infra/dgit-ssh-dispatch b/infra/dgit-ssh-dispatch index 377f8b8..f525055 100755 --- a/infra/dgit-ssh-dispatch +++ b/infra/dgit-ssh-dispatch @@ -130,6 +130,9 @@ sub dispatch () { my $cmd=$1; selectpackage $2,$3; if ($cmd eq 'receive-pack') { + $ENV{'PERLLIB'} //= ''; + $ENV{'PERLLIB'} =~ s#^(?=.)#:#; + $ENV{'PERLLIB'} =~ s#^# $ENV{DGIT_TEST_INTREE} // $dgitlive #e; my $s = "$dgitlive/infra/dgit-repos-server"; exec $s, $distro, $d, $authrune, qw(--ssh); die "exec $s: $!"; -- cgit v1.2.3