summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Dgit/Infra.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/Debian/Dgit/Infra.pm b/Debian/Dgit/Infra.pm
index 1f2c702..eff460b 100644
--- a/Debian/Dgit/Infra.pm
+++ b/Debian/Dgit/Infra.pm
@@ -5,6 +5,13 @@ package Debian::Dgit::Infra;
use strict;
use warnings;
-# push @INC, q{usr/share/dgit/infra/perl5}; ###substituted###
+# Scripts and programs which are going to `use Debian::Dgit' but which
+# live in dgit-infrastructure (ie are installed with install-infra)
+# should `use Debian::Dgit::Infra' first. All this module does is
+# adjust @INC so that the script gets the version of the script from
+# the dgit-infrastructure package (which is installed in a different
+# location and may be a different version).
+
+# unshift @INC, q{/usr/share/dgit/infra/perl5}; ###substituted###
1;