diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-11-08 14:46:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 14:46:34 +0100 |
commit | 8647572f8f84c3c987e546ad40f876779f49424a (patch) | |
tree | 229474d8aa506fd2c6e8c946de9339a2f5fec4f5 | |
parent | 0afc0e9a71a93612d1ad17500e84b3c76f3b6505 (diff) | |
parent | 63a00a858cb482624cc5d3b357cbc25958fd8112 (diff) |
Merge pull request #1245 from SaberUK/insp20+perl
[2.0] 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!"; } |