diff options
-rw-r--r-- | Debian/Dgit/Infra.pm | 10 | ||||
-rwxr-xr-x | infra/dgit-repos-admin-debian | 1 | ||||
-rwxr-xr-x | infra/dgit-repos-policy-debian | 1 | ||||
-rwxr-xr-x | infra/dgit-repos-policy-trusting | 5 | ||||
-rwxr-xr-x | infra/dgit-repos-server | 1 | ||||
-rwxr-xr-x | infra/dgit-ssh-dispatch | 1 |
6 files changed, 18 insertions, 1 deletions
diff --git a/Debian/Dgit/Infra.pm b/Debian/Dgit/Infra.pm new file mode 100644 index 0000000..1f2c702 --- /dev/null +++ b/Debian/Dgit/Infra.pm @@ -0,0 +1,10 @@ +# -*- perl -*- + +package Debian::Dgit::Infra; + +use strict; +use warnings; + +# push @INC, q{usr/share/dgit/infra/perl5}; ###substituted### + +1; 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(); |