diff options
author | Peter Powell <petpow@saberuk.com> | 2016-11-08 08:15:25 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2016-11-08 08:15:25 +0000 |
commit | 63a00a858cb482624cc5d3b357cbc25958fd8112 (patch) | |
tree | 229474d8aa506fd2c6e8c946de9339a2f5fec4f5 | |
parent | 0afc0e9a71a93612d1ad17500e84b3c76f3b6505 (diff) |
Workaround modern Perls not adding . to @INC.
-rwxr-xr-x | configure | 1 | ||||
-rwxr-xr-x | modulemanager | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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!"; } |