From: Peter Powell Date: Tue, 8 Nov 2016 08:15:25 +0000 (+0000) Subject: Workaround modern Perls not adding . to @INC. X-Git-Tag: v2.0.24~26^2 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=63a00a858cb482624cc5d3b357cbc25958fd8112;p=user%2Fhenk%2Fcode%2Finspircd.git Workaround modern Perls not adding . to @INC. --- diff --git a/configure b/configure index e8c3deb0d..7dbccadf2 100755 --- a/configure +++ b/configure @@ -28,6 +28,7 @@ BEGIN { require 5.8.0; + push @INC, '.'; } use strict; diff --git a/modulemanager b/modulemanager index af5bf113c..b107f2c1f 100755 --- a/modulemanager +++ b/modulemanager @@ -25,6 +25,7 @@ use warnings FATAL => qw(all); use make::configure; BEGIN { + push @INC, '.'; unless (module_installed("LWP::Simple")) { die "Your system is missing the LWP::Simple Perl module!"; }