]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Workaround modern Perls not adding . to @INC.
authorPeter Powell <petpow@saberuk.com>
Tue, 8 Nov 2016 08:15:25 +0000 (08:15 +0000)
committerPeter Powell <petpow@saberuk.com>
Tue, 8 Nov 2016 08:15:25 +0000 (08:15 +0000)
configure
modulemanager

index e8c3deb0d168dd60cae77ca41a228c5bd3f1de00..7dbccadf238b19e9190108782dd806a247d0fed7 100755 (executable)
--- a/configure
+++ b/configure
@@ -28,6 +28,7 @@
 
 BEGIN {
        require 5.8.0;
+       push @INC, '.';
 }
 
 use strict;
index af5bf113caa6f75b1d16b43bfbb5c8b74d193bb0..b107f2c1fad62032d1b07dd6fd60de7e8374859e 100755 (executable)
@@ -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!";
        }