diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-03-21 10:48:37 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-03-22 15:19:27 +0000 |
commit | 850c5e51043c2eb3a9804877314edefb6156e816 (patch) | |
tree | 61c9770fcdd6c25a30850acb464090737cd099e2 /infra/dgit-ssh-dispatch | |
parent | 1d5064c943a0561bd7028fedff3dd9bb28fc2bb7 (diff) |
Move $package_re into Debian::Dgit
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'infra/dgit-ssh-dispatch')
-rwxr-xr-x | infra/dgit-ssh-dispatch | 4 |
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 |