summaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-15 17:04:33 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-15 19:38:09 +0100
commit02bc0d2ca13bda7484c72b30cd20a7e36097da34 (patch)
tree9fc0ff0fc66d843308e00c3c920f182901d7f3dc /infra
parent55b092f4e1b4a3330fa367b6bf1da2fbca419085 (diff)
Infra: Introduce Debian::Dgit::Infra
This is used by all the Perl in dgit-infrastructure.deb. So far it does nothing, so no functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'infra')
-rwxr-xr-xinfra/dgit-repos-admin-debian1
-rwxr-xr-xinfra/dgit-repos-policy-debian1
-rwxr-xr-xinfra/dgit-repos-policy-trusting5
-rwxr-xr-xinfra/dgit-repos-server1
-rwxr-xr-xinfra/dgit-ssh-dispatch1
5 files changed, 8 insertions, 1 deletions
diff --git a/infra/dgit-repos-admin-debian b/infra/dgit-repos-admin-debian
index e19155d..6d1e4d0 100755
--- a/infra/dgit-repos-admin-debian
+++ b/infra/dgit-repos-admin-debian
@@ -18,6 +18,7 @@
use strict;
+use Debian::Dgit::Infra; # must precede Debian::Dgit; - can change @INC!
use Debian::Dgit;
setup_sigwarn();
diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian
index ee369b0..8f1164b 100755
--- a/infra/dgit-repos-policy-debian
+++ b/infra/dgit-repos-policy-debian
@@ -18,6 +18,7 @@
use strict;
+use Debian::Dgit::Infra; # must precede Debian::Dgit; - can change @INC!
use Debian::Dgit qw(:DEFAULT :policyflags);
setup_sigwarn();
diff --git a/infra/dgit-repos-policy-trusting b/infra/dgit-repos-policy-trusting
index 0620b70..b551d50 100755
--- a/infra/dgit-repos-policy-trusting
+++ b/infra/dgit-repos-policy-trusting
@@ -38,7 +38,10 @@ delibs=$1 ; shift
bitmask=0
policyflags () {
- perl -e 'use Debian::Dgit qw(:policyflags); print '$1',"\n"'
+ perl -e '
+ use Debian::Dgit::Infra;
+ use Debian::Dgit qw(:policyflags); print '$1',"\n"
+ '
}
set -e
diff --git a/infra/dgit-repos-server b/infra/dgit-repos-server
index 1b3f661..1be3360 100755
--- a/infra/dgit-repos-server
+++ b/infra/dgit-repos-server
@@ -51,6 +51,7 @@
use strict;
+use Debian::Dgit::Infra; # must precede Debian::Dgit; - can change @INC!
use Debian::Dgit qw(:DEFAULT :policyflags);
setup_sigwarn();
diff --git a/infra/dgit-ssh-dispatch b/infra/dgit-ssh-dispatch
index 17cf358..c5861d2 100755
--- a/infra/dgit-ssh-dispatch
+++ b/infra/dgit-ssh-dispatch
@@ -18,6 +18,7 @@
use strict;
+use Debian::Dgit::Infra; # must precede Debian::Dgit; - can change @INC!
use Debian::Dgit;
setup_sigwarn();