X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=Debian%2FDgit%2FInfra.pm;h=eff460b76fa3fdb0d20955d5daa99da47ad39706;hp=1f2c702e22ec90c944c17d4517a3f01967d6a136;hb=e28f906f107c69d18d68f47538077c868cc1e77c;hpb=02bc0d2ca13bda7484c72b30cd20a7e36097da34 diff --git a/Debian/Dgit/Infra.pm b/Debian/Dgit/Infra.pm index 1f2c702e..eff460b7 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;