summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-11-08 14:46:34 +0100
committerGitHub <noreply@github.com>2016-11-08 14:46:34 +0100
commit8647572f8f84c3c987e546ad40f876779f49424a (patch)
tree229474d8aa506fd2c6e8c946de9339a2f5fec4f5
parent0afc0e9a71a93612d1ad17500e84b3c76f3b6505 (diff)
parent63a00a858cb482624cc5d3b357cbc25958fd8112 (diff)
Merge pull request #1245 from SaberUK/insp20+perl
[2.0] Workaround modern Perls not adding . to @INC.
-rwxr-xr-xconfigure1
-rwxr-xr-xmodulemanager1
2 files changed, 2 insertions, 0 deletions
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!";
}