summaryrefslogtreecommitdiff
path: root/infra/dgit-ssh-dispatch
diff options
context:
space:
mode:
Diffstat (limited to 'infra/dgit-ssh-dispatch')
-rwxr-xr-xinfra/dgit-ssh-dispatch4
1 files changed, 3 insertions, 1 deletions
diff --git a/infra/dgit-ssh-dispatch b/infra/dgit-ssh-dispatch
index ed1e6ef..4769d89 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