X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=infra%2Fdgit-ssh-dispatch;h=4769d895830f5aa154e49fc0cc94f069a9e68bb4;hp=ed1e6ef9924e4f421d353388d97b552fbcd0cff5;hb=c5ecd001b6b7bd34cfdb161882fa20519df7fbde;hpb=772fdc0dc3733838b2efdf0c9af7252c2eafafd8 diff --git a/infra/dgit-ssh-dispatch b/infra/dgit-ssh-dispatch index ed1e6ef9..4769d895 100755 --- a/infra/dgit-ssh-dispatch +++ b/infra/dgit-ssh-dispatch @@ -3,6 +3,8 @@ use strict; use POSIX; +use Debian::Dgit; + open DEBUG, '>/dev/null' or die $!; if (@ARGV && $ARGV[0] eq '-D') { shift @ARGV; @@ -16,7 +18,7 @@ $authrune //= join ':', '@/keyrings/debian-keyring.gpg,a', '@/keyrings/debian-maintainers.gpg,m@/dm.txt'; -our $lre = '[0-9a-z][-+.0-9a-z]*'; +our $lre = $package_re; our $qre = '["'."']?"; # $dispatchdir should contain