Re: contrib/mw-to-git/Git/Mediawiki.pm
- From
- Benoît Person <benoit.person@ensimag.fr>
- Date
- Jun 27, 2013, 17:54 UTC
- Message-ID
- <CAETqRCif7K3MZiG4oMfnM-jps+KajDMYML4C5Hhy8eE7bj38xA@mail.gmail.com>
- In-Reply-To
- <7vzjubsbqj.fsf@alter.siamese.dyndns.org>
> Hmph. Does it even need to be in-tree then? Is it insufficient to > run ../../git from that directory instead?
Well, the fact is we use Perl packages now (Git.pm and Git::Mediawiki.pm in contrib/mw-to-git/Git/). The way we build perl scripts in the toplevel's Makefile makes those packages accessible only in $GITPERLLIB if it's defined and defaults to $INSTLIBDIR to seek for installed version of those packages.
We use a bin-wrapper to define that $GITPERLLIB variable so that the installed version gets bypassed by the one presents in the directory defined in $GITPERLLIB.
> I just noticed that the script is not strictly a text file, ending > with an incomplete line, by the way.
an incomplete line ?