chiark / gitweb /
Infra: dgit-infrastructure has, and uses, its own copies of the perl modules
[dgit.git] / Debian / Dgit / Infra.pm
index 1f2c702e22ec90c944c17d4517a3f01967d6a136..eff460b76fa3fdb0d20955d5daa99da47ad39706 100644 (file)
@@ -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;