summaryrefslogtreecommitdiff
path: root/Debian/Dgit/Infra.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Debian/Dgit/Infra.pm')
-rw-r--r--Debian/Dgit/Infra.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/Debian/Dgit/Infra.pm b/Debian/Dgit/Infra.pm
new file mode 100644
index 0000000..eff460b
--- /dev/null
+++ b/Debian/Dgit/Infra.pm
@@ -0,0 +1,17 @@
+# -*- perl -*-
+
+package Debian::Dgit::Infra;
+
+use strict;
+use warnings;
+
+# 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;