From: Dagfinn Ilmari Mannsåker Date: Mon, 4 Dec 2017 11:53:35 +0000 (+0000) Subject: Fix running Makefile.PL without '.' in @INC X-Git-Tag: v0.11022~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=afae491f5fe4962e9d013b473b1f4c7d83dc06bf;p=dbsrgits%2FSQL-Translator.git Fix running Makefile.PL without '.' in @INC --- diff --git a/Makefile.PL b/Makefile.PL index 9b2418a..8f93be1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,3 +1,4 @@ +BEGIN { push @INC, '.' unless $INC[-1] eq '.' } use inc::Module::Install 1.06; use strict; use warnings;