From e4af713502a68bd043949a184effd91ff349e17a Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 5 Nov 2017 14:35:16 -0800 Subject: [PATCH] Current dir is not always in the path https://www.virtualmin.com/node/54239 --- install-module.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/install-module.pl b/install-module.pl index 7ae2e51b2..98d5a3fb9 100755 --- a/install-module.pl +++ b/install-module.pl @@ -36,6 +36,7 @@ if ($file !~ /^\//) { } # Set up webmin environment +push(@INC, ".", $root); $ENV{'WEBMIN_CONFIG'} = $config; $ENV{'WEBMIN_VAR'} = $var; $no_acl_check++;