summaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2023-02-04 15:40:27 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2023-02-04 15:41:12 +0000
commit7a299b81c55610de8801cd81f4bd512050d3539c (patch)
treeef6afd9ff6cfb79c3515f316a1a95b72573f8d5b /infra
parentcaabc31be87f90364c74988f64bec9c53e943dcb (diff)
dgit-ssh-dispatch: Apply perllib_local to policy hook
Otherwise we can get the wrong version. Empirically, we might get an out-of-date installed version of Dgit.pm ! Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'infra')
-rwxr-xr-xinfra/dgit-ssh-dispatch1
1 files changed, 1 insertions, 0 deletions
diff --git a/infra/dgit-ssh-dispatch b/infra/dgit-ssh-dispatch
index cdc610d..e63d4bf 100755
--- a/infra/dgit-ssh-dispatch
+++ b/infra/dgit-ssh-dispatch
@@ -184,6 +184,7 @@ sub dispatch () {
my @cmd = ($policyhook,$distro,$repos,$dgitlive,$d,
'policy-client-query', $pkg, $query_op,
split / /, $query_args);
+ perllib_local();
exec @cmd;;
die "exec $cmd[0]: $!";
} else {